GetNullableInteger Method (field)

DTF API

Copy image CopyHover image
Deployment Tools Foundation GetNullableInteger Method (field)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerRecordGetNullableInteger(Int32)
Gets a field value as an integer.
Declaration Syntax
C# Visual Basic Visual C++ F#
public Nullable<int> GetNullableInteger(
	int field
)
Public Function GetNullableInteger ( 
	field As Integer
) As Nullable(Of Integer)
public:
Nullable<int> GetNullableInteger(
	int field
)
member GetNullableInteger : 
        field : int -> Nullable<int> 
Parameters
field (Int32)
Specifies the field to retrieve.
Return Value
Nullable<(Of <(<'Int32>)>)>
Integer value of the field, or null 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.dll) Version: 3.0.0.0 (3.11.1.2318)