'Declaration <DefaultValueAttribute(1)> Public Property StartDay As Integer
'Usage Dim instance As Holiday Dim value As Integer instance.StartDay = value value = instance.StartDay
[DefaultValue(1)] public int StartDay {get; set;}
'Declaration <DefaultValueAttribute(1)> Public Property StartDay As Integer
'Usage Dim instance As Holiday Dim value As Integer instance.StartDay = value value = instance.StartDay
[DefaultValue(1)] public int StartDay {get; set;}
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | Set value less than 1 or greater than the last day of the StartMonth in the leap year. |