SetNullableInteger Method (field, value)

DTF API

Copy image CopyHover image
Deployment Tools Foundation SetNullableInteger Method (field, value)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerRecordSetNullableInteger(Int32, Nullable<(Of <<'(Int32>)>>))
Sets the value of a field to a nullable integer.
Declaration Syntax
C# Visual Basic Visual C++ F#
public void SetNullableInteger(
	int field,
	Nullable<int> value
)
Public Sub SetNullableInteger ( 
	field As Integer,
	value As Nullable(Of Integer)
)
public:
void SetNullableInteger(
	int field, 
	Nullable<int> value
)
member SetNullableInteger : 
        field : int * 
        value : Nullable<int> -> unit 
Parameters
field (Int32)
Specifies the field to set.
value (Nullable<(Of <(<'Int32>)>)>)
new value of the field
Remarks

Win32 MSI API: MsiRecordSetInteger

Exceptions
Exception Condition
ArgumentOutOfRangeException The field is less than 0 or greater than the number of fields in the Record.

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