GregorianCalendar Constructor (GregorianCalendarTypes)

July 28, 2014

Initializes a new instance of the GregorianCalendar class using the specified GregorianCalendarTypes value.

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

public GregorianCalendar(
	GregorianCalendarTypes type
)

Parameters

type
Type: System.Globalization.GregorianCalendarTypes
The GregorianCalendarTypes value that denotes which language version of the calendar to create.

ExceptionCondition
ArgumentOutOfRangeException

type is not a member of the GregorianCalendarTypes enumeration.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft