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

Provides a mechanism for retrieving an object to control formatting. More...

Inheritance diagram for System.IFormatProvider:
[legend]

Public Member Functions

object GetFormat (Type formatType)
 Returns an object that provides formatting services for the specified type. More...
 

Detailed Description

Provides a mechanism for retrieving an object to control formatting.

Definition at line 8 of file IFormatProvider.cs.

Member Function Documentation

◆ GetFormat()

object System.IFormatProvider.GetFormat ( Type  formatType)

Returns an object that provides formatting services for the specified type.

Parameters
formatTypeAn object that specifies the type of format object to return.
Returns
An instance of the object specified by formatType , if the T:System.IFormatProvider implementation can supply that type of object; otherwise, null.

Implemented in System.Globalization.CultureInfo, and System.Globalization.NumberFormatInfo.


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