Record Constructor (fields)

DTF API

Copy image CopyHover image
Deployment Tools Foundation Record Constructor (fields)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerRecordRecord(array<Object>[]()[][])
Creates a new record object, providing values for an arbitrary number of fields.
Declaration Syntax
C# Visual Basic Visual C++ F#
public Record(
	params Object[] fields
)
Public Sub New ( 
	ParamArray fields As Object()
)
public:
Record(
	... array<Object^>^ fields
)
new : 
        fields : Object[] -> Record
Parameters
fields (array<Object>[]()[][])
The values of the record fields. The parameters should be of type Int16, Int32 or String
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)