Interface ICustomFormatter
- Namespace
- System
- Assembly
- mscorlib.dll
Defines a method that supports custom formatting of the value of an object.
public interface ICustomFormatter
- Extension Methods
Remarks
Available only in mscorlib build with support for System.Reflection.
Methods
Format(string, object, IFormatProvider)
Converts the value of a specified object to an equivalent string representation using specified format and culture-specific formatting information.
string Format(string format, object arg, IFormatProvider formatProvider)
Parameters
format
stringA format string containing formatting specifications.
arg
objectAn object to format.
formatProvider
IFormatProviderAn object that supplies format information about the current instance.
Returns
- string
The string representation of the value of arg, formatted as specified by format and formatProvider.