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