Record Constructor (fieldCount)

DTF API

Copy image CopyHover image
Deployment Tools Foundation Record Constructor (fieldCount)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerRecordRecord(Int32)
Creates a new record object with the requested number of fields.
Declaration Syntax
C# Visual Basic Visual C++ F#
public Record(
	int fieldCount
)
Public Sub New ( 
	fieldCount As Integer
)
public:
Record(
	int fieldCount
)
new : 
        fieldCount : int -> Record
Parameters
fieldCount (Int32)
Required number of fields, which may be 0. The maximum number of fields in a record is limited to 65535.
Remarks

The Record object should be Close()()()()d after use. It is best that the handle be closed manually as soon as it is no longer needed, as leaving lots of unused handles open can degrade performance.

Win32 MSI API: MsiCreateRecord

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