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
String
A formatted string representation of the Record.
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
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)