[]
Gets or sets the year in which the ForceDayOfWeekHoliday is defined.
public int Year { get; set; }
Public Property Year As Integer
| Type | Description |
|---|---|
| int | An int value indicates the year. |
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | year is less than the year of DateTime.MinValue( 1 ) or is greater than the year of DateTime.MaxValue( 9999 ). |