Update Method (record)

DTF API

Copy image CopyHover image
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++ F#
public void Update(
	Record record
)
Public Sub Update ( 
	record As Record
)
public:
void Update(
	Record^ record
)
member Update : 
        record : Record -> unit 
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.dll) Version: 3.0.0.0 (3.11.1.2318)