GregorianCalendar Constructor (GregorianCalendarTypes)
.NET Framework (current version)
Initializes a new instance of the GregorianCalendar class using the specified GregorianCalendarTypes value.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- type
-
Type:
System.Globalization::GregorianCalendarTypes
The GregorianCalendarTypes value that denotes which language version of the calendar to create.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | type is not a member of the GregorianCalendarTypes enumeration. |
Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 10
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: