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.

public object GetFormat (Type formatType)

Parameters

formatType
The Type of the formatting object to be returned.

Returns

The current instance, if formatType is of type System.Globalization.DateTimeFormatInfo; otherwise, a null reference.

Remarks

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

Requirements

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