Mono Class Library: System.IFormatProvider Overview | Members

System.IFormatProvider.GetFormat Method

Returns a object that provides formatting services. [Edit]

public object GetFormat (Type formatType)

Parameters

formatType
The Type of the formatting object to be returned. [Edit]

Returns

The current instance, if formatType is the same type as the current instance; otherwise, a null reference. [Edit]

Remarks

Operation
As described above.

Note to Inheritors
Implement in classes that provide formatting objects for use in methods that generate or parse string representations of objects, such as ToString and Parse.

[Edit]

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0