FormatRecord Method (record)

DTF API

Copy image CopyHover image
Deployment Tools Foundation FormatRecord Method (record)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerSessionFormatRecord(Record)
Returns a formatted string from record data.
Declaration Syntax
C# Visual Basic Visual C++ F#
public string FormatRecord(
	Record record
)
Public Function FormatRecord ( 
	record As Record
) As String
public:
String^ FormatRecord(
	Record^ record
)
member FormatRecord : 
        record : Record -> string 
Parameters
record (Record)
Record object containing a template and data to be formatted. The template string must be set in field 0 followed by any referenced data parameters.
Return Value
String
A formatted string containing the record data
Remarks

Win32 MSI API: MsiFormatRecord

Exceptions
Exception Condition
InvalidHandleException the Record handle is invalid

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