CounterOperation Enumeration |
Specifies an operation to perform on a counter.
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax public enum CounterOperation
Members
| Member name | Value | Description |
---|
| IncrementAndStop | 0 |
Add 1 to the counter value. If the counter was at it's maximum value, leave it there.
|
| DecrementAndStop | 1 |
Subtract 1 from the counter value. If the counter was at it's minimum value, leave it there.
|
| IncrementAndLoop | 2 |
Add 1 to the counter value. If the counter was at it's maximum value, set it to its minimum value.
|
| DecrementAndLoop | 3 |
Subtract 1 from the counter value. If the counter was at it's minimum value, set it to its maximum value.
|
| SetToMinimum | 4 |
Set the counter to its minimum value.
|
| SetToMaximum | 5 |
Set the counter to its maximum value.
|
See Also