Mono Class Library: System.Globalization.DateTimeFormatInfo Overview | Members

System.Globalization.DateTimeFormatInfo.GetFormat Method

Returns an object of the specified type that provides DateTime 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 of type System.Globalization.DateTimeFormatInfo; otherwise, a null reference. [Edit]

Remarks

Note: This method is implemented to support the IFormatProvider interface.
[Edit]

Requirements

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