ICustomFormatter.Format Method
Converts the value of a specified object to an equivalent string representation, using a specified format and culture-specific formatting information.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
public string Format (
string format,
Object arg,
IFormatProvider formatProvider
)
Parameters
- format
A format string containing formatting specifications. - arg
An object you want to format. - formatProvider
An IFormatProvider object that supplies format information about the current object.
Return Value
Returns the string representation of the value of the arg parameter, formatted as specified by the format and formatProvider parameters.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.
See Also
Reference
ICustomFormatter Interface
ICustomFormatter Members
System Namespace