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