![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Deployment Tools Foundation
GetInteger Method (field)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Record ► GetInteger(Int32)
Gets a field value as an integer.
![](collapse_all.gif)
C# | Visual Basic | Visual C++ |
public int GetInteger( int field )
Public Function GetInteger ( field As Integer ) As Integer
public: int GetInteger( int field )
![](collapse_all.gif)
- field (Int32)
- Specifies the field to retrieve.
![](collapse_all.gif)
Int32
Integer value of the field, or 0 if the field is null.
Integer value of the field, or 0 if the field is null.
![](collapse_all.gif)
Win32 MSI API: MsiRecordGetInteger
![](collapse_all.gif)
Exception | Condition |
---|---|
ArgumentOutOfRangeException | The field is less than 0 or greater than the
number of fields in the Record. |
![](collapse_all.gif)
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)