 | ZWManagerGetNumSwitchPoints Method |
Get the number of switch points defined in a schedule.
Namespace:
OpenZWave
Assembly:
OpenZWave (in OpenZWave.dll) Version: 255.255.255.255
Syntaxpublic byte GetNumSwitchPoints(
ZWValueId id
)
Public Function GetNumSwitchPoints (
id As ZWValueId
) As Byte
public:
virtual unsigned char GetNumSwitchPoints(
[InAttribute] ZWValueId^ id
) sealed
Parameters
- id
- Type: OpenZWaveZWValueId
The unique identifier of the schedule value.
Return Value
Type:
Bytethe number of switch points defined in this schedule. Returns zero if the value is not a ValueID::ValueType_Schedule. The type can be tested with a call to ValueID::GetType.
See Also