Deployment Tools Foundation
GetInteger Method (fieldName)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Record ► GetInteger(String)
Gets a field value as an integer.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public int GetInteger( string fieldName )
Public Function GetInteger ( fieldName As String ) As Integer
public: int GetInteger( String^ fieldName )
Parameters
- fieldName (String)
- Specifies the field to retrieve.
Return Value
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.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | The field name does not match any
of the named fields in the Record. |
See Also
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)