| |||||
CultureInfo.GetFormat MethodSystem.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; Parameters
Return ValueA 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. -or- A null reference ( Nothing in Visual Basic ), if formatType is any other object. ImplementsRemarksGetFormat 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. See AlsoCultureInfo Members Type NumberFormatInfo DateTimeFormatInfo NumberFormat DateTimeFormat |
| ||||
Check out related books at Amazon
© 2000-2008 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 aspxtreme