Format Method (format)

DTF API

Copy image CopyHover image
Deployment Tools Foundation Format Method (format)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerSessionFormat(String)
Formats a string containing installer properties.
Declaration Syntax
C# Visual Basic Visual C++ F#
public string Format(
	string format
)
Public Function Format ( 
	format As String
) As String
public:
String^ Format(
	String^ format
)
member Format : 
        format : string -> string 
Parameters
format (String)
A format string containing property tokens
Return Value
String
A formatted string containing property 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)