NumberFormatInfo::GetFormat Method (Type^)
.NET Framework (current version)
Gets an object of the specified type that provides a number formatting service.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- formatType
-
Type:
System::Type^
The Type of the required formatting service.
Return Value
Type: System::Object^The current NumberFormatInfo, if formatType is the same as the type of the current NumberFormatInfo; otherwise, null.
Implements
IFormatProvider::GetFormat(Type^)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.
Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Show: