ToString Method (format)

Microsoft Deployment Tools

Deployment Tools Foundation ToString Method (format)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerRecordToString(String)
Gets a formatted string representation of the Record.
Declaration Syntax
C# Visual Basic Visual C++
[ObsoleteAttribute("This method is obsolete because it has undesirable side-effects. As an alternative, set the FormatString property separately before calling the ToString() override that takes no parameters.")]
public string ToString(
	string format
)
<ObsoleteAttribute("This method is obsolete because it has undesirable side-effects. As an alternative, set the FormatString property separately before calling the ToString() override that takes no parameters.")> _
Public Function ToString ( _
	format As String _
) As String
[ObsoleteAttribute(L"This method is obsolete because it has undesirable side-effects. As an alternative, set the FormatString property separately before calling the ToString() override that takes no parameters.")]
public:
String^ ToString(
	String^ format
)
Parameters
format (String)
String to be used to format the data in the Record, instead of the Record's format string.
Return Value
A formatted string representation of the Record.
Remarks

Win32 MSI API: MsiFormatRecord

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller) Version: 3.0.0.0 (3.5.1623.0)