Gets a formatter based on the requested type.

Namespace: System.Extensions
Assembly: System.Extensions (in System.Extensions.dll) Version: 0.0.0.5 (0.0.0.5)

Syntax

C#
public Object GetFormat(
	Type formatType
)
Visual Basic
Public Function GetFormat ( 
	formatType As Type
) As Object
Visual C++
public:
virtual Object^ GetFormat(
	Type^ formatType
) sealed
F#
abstract GetFormat : 
        formatType : Type -> Object 
override GetFormat : 
        formatType : Type -> Object 

Parameters

formatType
Type: System..::..Type
The requested type.

Return Value

Type: Object
The formatter if one is found.

Implements

IFormatProvider..::..GetFormat(Type)

See Also