GetNullableInteger Method (fieldName)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation GetNullableInteger Method (fieldName)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerRecordGetNullableInteger(String)
Gets a field value as an integer.
Declaration Syntax
C# Visual Basic Visual C++
public Nullable<int> GetNullableInteger(
	string fieldName
)
Public Function GetNullableInteger ( 
	fieldName As String
) As Nullable(Of Integer)
public:
Nullable<int> GetNullableInteger(
	String^ fieldName
)
Parameters
fieldName (String)
Specifies the field to retrieve.
Return Value
Nullable<(Of <(<'Int32>)>)>
Integer value of the field, or null if the field is null.
Exceptions
Exception Condition
ArgumentOutOfRangeException The field name does not match any of the named fields in the Record.

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