Enumerations
Name | Values |
| This class exposes no enumerations. |
Constants
Name | Type | Value |
| | This class exposes no constants. |
Events
Definition | Description |
| This class exposes no events. |
Methods
Definition | Parameters | Return Type | Description |
Constructor | RestrictionID as String | None | Creates a new instance of the class. |
StartTime as DateTime |
EndTime as DateTime | |
ParamArray Days as Integer | |
Properties
Name | Type | Default Value | Description |
Friday | Boolean | False | Allow Friday in View |
ID | String | “” | The ID of this restriction |
Monday | Boolean | False | Allow Monday in View |
Saturday | Boolean | False | Allow Saturday in View |
Sunday | Boolean | False | Allow Sunday in View |
Thursday | Boolean | False | Allow Thursday in View |
TimeEnd | DateTime | Nil | The end time for the restriction. |
TimeStart | DateTime | Nil | The start time for the restriction. |
Tuesday | Boolean | False | Allow Tuesday in View |
Wednesday | Boolean | False | Allow Wednesday in View |
Constructor
Days should be defined as a list of integers corresponding to the days applied to this restriction:
var r as new GraffitiWebCalendarRestriction( "someID", dStart, dEnd, 1, 3, 5 )
This example will create a restriction which allows Monday, Wednesday and Friday between the hours defined in dStart and dEnd.
Examples
There are currently no examples for this class.