This documentation is archived and is not being maintained.

DateTimeFormatInfo.InvariantInfo Property

Gets the default read-only DateTimeFormatInfo that is culture-independent (invariant).

[Visual Basic]
Public Shared ReadOnly Property InvariantInfo As DateTimeFormatInfo
[C#]
public static DateTimeFormatInfo InvariantInfo {get;}
[C++]
public: __property static DateTimeFormatInfo* get_InvariantInfo();
[JScript]
public static function get InvariantInfo() : DateTimeFormatInfo;

Property Value

The default read-only DateTimeFormatInfo that is culture-independent (invariant).

Remarks

This property does not change regardless of the current culture.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

DateTimeFormatInfo Class | DateTimeFormatInfo Members | System.Globalization Namespace

Show: