![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Deployment Tools Foundation
GetNullableInteger Method (fieldName)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Record ► GetNullableInteger(String)
Gets a field value as an integer.
![](collapse_all.gif)
C# | Visual Basic | Visual C++ | F# |
public Nullable<int> GetNullableInteger( string fieldName )
Public Function GetNullableInteger ( fieldName As String ) As Nullable(Of Integer)
public: Nullable<int> GetNullableInteger( String^ fieldName )
member GetNullableInteger : fieldName : string -> Nullable<int>
![](collapse_all.gif)
- fieldName (String)
- Specifies the field to retrieve.
![](collapse_all.gif)
Exception | Condition |
---|---|
ArgumentOutOfRangeException | The field name does not match any
of the named fields in the Record. |
![](collapse_all.gif)
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)