Calendar.NumberOfEras Property

Definition

Gets the number of eras in this Calendar object.

public:
 property int NumberOfEras { int get(); };
int NumberOfEras();
public int NumberOfEras { get; }
var int32 = calendar.numberOfEras;
Public ReadOnly Property NumberOfEras As Integer

Property Value

Int32

int

The number of eras in the Calendar, or – 1 if the number of eras in the Calendar is unknown.

Applies to

See also