Deployment Tools Foundation
ToString Method (provider)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Record ► ToString(IFormatProvider)
Gets a formatted string representation of the Record, optionally using a Session to format properties.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public string ToString( IFormatProvider provider )
Public Function ToString ( _ provider As IFormatProvider _ ) As String
public: String^ ToString( IFormatProvider^ provider )
Parameters
- provider (IFormatProvider)
- an optional Session instance that will be used to lookup any properties in the Record's format string
Return Value
A formatted string representation of the Record.
Remarks
If field 0 of the Record is set to a nonempty string, it is used to format the data in the Record.
Win32 MSI API: MsiFormatRecord
See Also