Deployment Tools Foundation
ToString Method (format)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Record ► ToString(String)
Gets a formatted string representation of the Record.
![](collapse_all.gif)
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 )
![](collapse_all.gif)
- format (String)
- String to be used to format the data in the Record, instead of the Record's format string.
![](collapse_all.gif)
A formatted string representation of the Record.
![](collapse_all.gif)
Win32 MSI API: MsiFormatRecord