Update Method (indexes, values)

Microsoft Deployment Compression & Installer

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++
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
)
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.9.1006.0)