System.Globalization Namespace CultureInfo Class
Gets an object that defines how to format the specified type.
[ VB ] Overridable Public Function GetFormat ( _ ByVal formatType As Type _ ) As Object Implements IFormatProvider.GetFormat [ C# ] public virtual object GetFormat ( Type formatType ); [ C++ ] public: virtual Object* GetFormat ( Type* formatType ); [ JScript ] function GetFormat ( formatType : Type ) : Object;
A NumberFormatInfo object containing the default number format information for the current CultureInfo, if formatType is the Type object for the NumberFormatInfo class.
-or-
A DateTimeFormatInfo object containing the default date and time format information for the current CultureInfo, if formatType is the Type object for the DateTimeFormatInfo class.
A null reference ( Nothing in Visual Basic ), if formatType is any other object.
IFormatProvider.GetFormat
GetFormat implements IFormatProvider.GetFormat.
NumberFormatInfo provides the culture-specific numeric format used in conjunction with the Format methods in the base data types. DateTimeFormatInfo controls how the date and time values are formatted for a specific culture.
CultureInfo Members Type NumberFormatInfo DateTimeFormatInfo NumberFormat DateTimeFormat
© 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