public interface IFormatProvider
|
A class or value type implements the IFormatProvider.GetFormat method of this interface to obtain an object that provides format information or processing for the implementing type.
For example, IFormatProvider is implemented by NumberFormatInfo and DateTimeFormatInfo. NumberFormatInfo provides culture-specific information used to format numbers in the base data types, and DateTimeFormatInfo provides culture-specific information used to format date and time values.
GetFormat | Gets an object that provides formatting services for the specified type. |
formatType
-or-
A format object for the current culture if no format object is available or formatType is null.
For more information, see the CultureInfo.CurrentCulture topic.