A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/dotnet/api/system.globalization.datetimeformatinfo.getformat below:

DateTimeFormatInfo.GetFormat(Type) Method (System.Globalization) | Microsoft Learn

DateTimeFormatInfo.GetFormat(Type) Method Definition

Returns an object of the specified type that provides a date and time formatting service.

public:
 virtual System::Object ^ GetFormat(Type ^ formatType);
public object GetFormat(Type formatType);
public object? GetFormat(Type? formatType);
abstract member GetFormat : Type -> obj
override this.GetFormat : Type -> obj
Public Function GetFormat (formatType As Type) As Object
Parameters
formatType
Type

The type of the required formatting service.

Returns

The current object, if formatType is the same as the type of the current DateTimeFormatInfo; otherwise, null.

Implements Remarks

The Format(String, IFormatProvider) method supported by the base data types invoke this method when the current DateTimeFormatInfo object is passed as the IFormatProvider parameter. This method implements IFormatProvider.GetFormat.

See also

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4