GetInteger Method (field)

Microsoft Deployment Tools

Deployment Tools Foundation GetInteger Method (field)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerRecordGetInteger(Int32)
Gets a field value as an integer.
Declaration Syntax
C# Visual Basic Visual C++
public int GetInteger(
	int field
)
Public Function GetInteger ( _
	field As Integer _
) As Integer
public:
int GetInteger(
	int field
)
Parameters
field (Int32)
Specifies the field to retrieve.
Return Value
Integer value of the field, or 0 if the field is null.
Remarks

Win32 MSI API: MsiRecordGetInteger

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) Version: 3.0.0.0 (3.5.1623.0)