asp.net.ph

NumberFormatInfo.GetFormat Method

System.Globalization Namespace   NumberFormatInfo Class


Gets an object of the specified type that provides a number formatting service.

[ VB ]
NotOverridable Public Function GetFormat ( _
   ByVal formatType As Type _
) As Object Implements IFormatProvider.GetFormat

[ C# ]
public object GetFormat ( 
   Type formatType
);

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

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

Parameters

formatType
The Type of the required formatting service.

Return Value

The current NumberFormatInfo, if formatType is the same as the type of the current NumberFormatInfo; otherwise, a null reference ( Nothing in Visual Basic ).

Implements

IFormatProvider.GetFormat

Remarks

The Format ( String, IFormatProvider ) methods supported by the base data types invoke this method when the current NumberFormatInfo is passed as the IFormatProvider parameter. This method implements IFormatProvider.GetFormat.

See Also

NumberFormatInfo Members   IFormatProvider   GetFormat Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

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