Click or drag to resize

StateValueCollectionEnumerator Class

An enumerator for IStateValue collections
Inheritance Hierarchy
SystemObject
  ASCOM.DeviceInterfaceStateValueCollectionEnumerator

Namespace: ASCOM.DeviceInterface
Assembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 7.0.0-rc.0+0
Syntax
public class StateValueCollectionEnumerator : IEnumerator, 
	IDisposable

The StateValueCollectionEnumerator type exposes the following members.

Constructors
 NameDescription
Public methodStateValueCollectionEnumerator Create an empty state value collection enumerator
Public methodStateValueCollectionEnumerator(IStateValue) Create a state value collection enumerator containing the supplied IStateValue objects
Top
Properties
 NameDescription
Public propertyCurrent Get the current state value.
Top
Methods
 NameDescription
Public methodDispose Dispose of the state value collection enumerator.
Public methodMoveNext Move to the next state value
Public methodReset Reset the internal index to the start of the collection so that the enumerator can be reused.
Top
Remarks

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.

See Also