System.Globalization Namespace NumberFormatInfo Class
Gets the NumberFormatInfo associated with the specified IFormatProvider.
[ VB ] public Shared Function GetInstance ( _ ByVal formatProvider As IFormatProvider _ ) As NumberFormatInfo [ C# ] public static NumberFormatInfo GetInstance ( IFormatProvider formatProvider ); [ C++ ] public: static NumberFormatInfo* GetInstance ( IFormatProvider* formatProvider ); [ JScript ] static function GetInstance ( formatProvider : IFormatProvider ) : NumberFormatInfo;
-or-
A null reference ( Nothing in Visual Basic ) to get CurrentInfo.
The NumberFormatInfo associated with the specified IFormatProvider.
This method uses the IFormatProvider.GetFormat method of formatProvider using NumberFormatInfo as the Type parameter. If formatProvider is a null reference ( Nothing in Visual Basic ) or if IFormatProvider.GetFormat returns a null reference ( Nothing ), this method returns CurrentInfo.
You can get a NumberFormatInfo for a specific culture using one of the following methods:
A NumberFormatInfo can be created only for the invariant culture or for specific cultures, not for neutral cultures. For more information about the invariant culture, specific cultures, and neutral cultures, see the CultureInfo class.
NumberFormatInfo Members IFormatProvider
© 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