State |
The StateValueCollection type exposes the following members.
Name | Description | |
---|---|---|
![]() | StateValueCollection | Create an empty state value collection |
![]() | StateValueCollection(ListIStateValue) | Create a state value collection populated with values a list of objects that implement IStateValue |
![]() | StateValueCollection(ListStateValue) | Create a state value collection populated with values a list of StateValue objects |
![]() | StateValueCollection(StateValue) | Create a state value collection populated with values from an array of StateValue objects |
Name | Description | |
---|---|---|
![]() | Count | The number of state values in the collection |
![]() | Item | Returns the state value as an IStateValue object at the given index into the collection. |
Name | Description | |
---|---|---|
![]() | Add(IStateValue) | Add an object that implements IStateValue to the state value collection. |
![]() | Add(String, Object) | Add a new state value with the given name and value |
![]() | AddLocalDateTime | Add the local date and time to the state value collection. |
![]() | AddUtcDateTime | Add the UTC date and time to the state value collection. |
![]() | Dispose | Dispose of the state value collection. |
![]() | GetEnumerator | An enumerator that enables items in the collection to be retrieved |
See Device State Implementation and Requirements for further information on how to implement DeviceState, which properties to include, and the implementation support provided by the Platform.