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)

Syntax

Public Sub New ( _
    type As GregorianCalendarTypes _
)
public GregorianCalendar(
    GregorianCalendarTypes type
)

Parameters

Exceptions

Exception Condition
ArgumentOutOfRangeException

type is not a member of the GregorianCalendarTypes enumeration.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

GregorianCalendar Class

GregorianCalendar Overload

System.Globalization Namespace

GregorianCalendarTypes