Share via


CurrentInfo Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets a read-only DateTimeFormatInfo object that formats values based on the current culture.

Namespace:  System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Shared ReadOnly Property CurrentInfo As DateTimeFormatInfo
public static DateTimeFormatInfo CurrentInfo { get; }
public:
static property DateTimeFormatInfo^ CurrentInfo {
    DateTimeFormatInfo^ get ();
}
static member CurrentInfo : DateTimeFormatInfo with get
static function get CurrentInfo () : DateTimeFormatInfo

Property Value

Type: System.Globalization. . :: . .DateTimeFormatInfo
A read-only DateTimeFormatInfo object based on the CultureInfo object for the current thread.

Remarks

The DateTimeFormatInfo object returned by the CurrentInfo property reflects user overrides.

.NET Framework Security

See Also

Reference

DateTimeFormatInfo Class

System.Globalization Namespace