SetInteger Method (fieldName, value)

DTF API

Copy image CopyHover image
Deployment Tools Foundation SetInteger Method (fieldName, value)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerRecordSetInteger(String, Int32)
Sets the value of a field to an integer.
Declaration Syntax
C# Visual Basic Visual C++ F#
public void SetInteger(
	string fieldName,
	int value
)
Public Sub SetInteger ( 
	fieldName As String,
	value As Integer
)
public:
void SetInteger(
	String^ fieldName, 
	int value
)
member SetInteger : 
        fieldName : string * 
        value : int -> unit 
Parameters
fieldName (String)
Specifies the field to set.
value (Int32)
new value of the field
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.11.1.2318)