Update Method (indexes, values)

DTF API

Copy image CopyHover image
Deployment Tools Foundation Update Method (indexes, values)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstaller.LinqQRecordUpdate(IList<(Of <<'(Int32>)>>), IList<(Of <<'(String>)>>))
Update multiple fields in the record (and the database).
Declaration Syntax
C# Visual Basic Visual C++ F#
public void Update(
	IList<int> indexes,
	IList<string> values
)
Public Sub Update ( 
	indexes As IList(Of Integer),
	values As IList(Of String)
)
public:
void Update(
	IList<int>^ indexes, 
	IList<String^>^ values
)
member Update : 
        indexes : IList<int> * 
        values : IList<string> -> unit 
Parameters
indexes (IList<(Of <(<'Int32>)>)>)
column indexes of fields to update
values (IList<(Of <(<'String>)>)>)
new values for each field being updated
Remarks
The record (primary keys) must already exist in the table.

Updating primary key fields is not yet implemented; use Delete() and Insert() instead.

Assembly: Microsoft.Deployment.WindowsInstaller.Linq (Module: Microsoft.Deployment.WindowsInstaller.Linq.dll) Version: 3.0.0.0 (3.11.1.2318)