Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.