mscorlib(4.0.0.0) API with additions
System.ICustomFormatter Interface Reference

Defines a method that supports custom formatting of the value of an object. More...

Public Member Functions

string Format (string format, object arg, IFormatProvider formatProvider)
 Converts the value of a specified object to an equivalent string representation using specified format and culture-specific formatting information. More...
 

Detailed Description

Defines a method that supports custom formatting of the value of an object.

Definition at line 8 of file ICustomFormatter.cs.

Member Function Documentation

◆ Format()

string System.ICustomFormatter.Format ( string  format,
object  arg,
IFormatProvider  formatProvider 
)

Converts the value of a specified object to an equivalent string representation using specified format and culture-specific formatting information.

Parameters
formatA format string containing formatting specifications.
argAn object to format.
formatProviderAn object that supplies format information about the current instance.
Returns
The string representation of the value of arg , formatted as specified by format and formatProvider .

The documentation for this interface was generated from the following file: