Deployment Tools Foundation
ToString Method (format)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Record ► ToString(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
public: [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.")] 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
String
A formatted string representation of the Record.
A formatted string representation of the Record.
Remarks
Win32 MSI API: MsiFormatRecord
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)