GregorianCalendar Constructor (GregorianCalendarTypes)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
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. |
Show: