Update Method (record)

Microsoft Deployment Tools

Deployment Tools Foundation Update Method (record)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerViewUpdate(Record)
Updates the View with new data from the Record.
Declaration Syntax
C# Visual Basic Visual C++
public void Update(
	Record record
)
Public Sub Update ( _
	record As Record _
)
public:
void Update(
	Record^ record
)
Parameters
record (Record)
the new data
Remarks

Only non-primary keys can be updated. The Record must have been obtained by calling Fetch()()(). Fails with a deleted Record. Works only with read-write Records.

See Modify(ViewModifyMode, Record) for more remarks.

Win32 MSI API: MsiViewModify

Exceptions
Exception Condition
InstallerException the update failed
InvalidHandleException the View handle is invalid

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller) Version: 3.0.0.0 (3.5.1623.0)