SetInteger Method (field, value)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation SetInteger Method (field, value)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerRecordSetInteger(Int32, Int32)
Sets the value of a field to an integer.
Declaration Syntax
C# Visual Basic Visual C++
public void SetInteger(
	int field,
	int value
)
Public Sub SetInteger ( 
	field As Integer,
	value As Integer
)
public:
void SetInteger(
	int field, 
	int value
)
Parameters
field (Int32)
Specifies the field to set.
value (Int32)
new value of the field
Remarks

Win32 MSI API: MsiRecordSetInteger

Exceptions
Exception Condition
ArgumentOutOfRangeException The field is less than 0 or greater than the number of fields in the Record.

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