GregorianCalendar Constructor (GregorianCalendarTypes)
Collapse the table of content
Expand the table of content

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.

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

'Declaration
Public Sub New ( _
	type As GregorianCalendarTypes _
)

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:
© 2017 Microsoft