asp.net.ph

IFormatProvider.GetFormat Method ( Type )

System Namespace   IFormatProvider Interface


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

[ VB ]
Function GetFormat ( _
   ByVal formatType As Type _
) As Object

[ C# ]
object GetFormat (
   Type formatType
);

[ C++ ]
Object* GetFormat (
   Type* formatType
);

[ JScript ]
function GetFormat (
   formatType : Type
) : Object;

Parameters

formatType
An object that specifies the type of format object to get.

Return Value

A format object of type formatType.

-or-

A format object for the current culture if no format object is available or formatType is a null reference ( Nothing in Visual Basic ).

Remarks

Implement this method in classes that use format objects in methods that either generate or parse string representations of objects. The ToString and Parse methods are examples of these types of methods.

For more information, see the CultureInfo.CurrentCulture topic.

See Also

IFormatProvider Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph