SubSetEnumerator module
- class SubSetEnumerator.SubSetEnumerator
Bases:
IEnumeratorRepresents an internal enumerator for EntitySubSetCollection.
- property Current: SpireObject
Gets the current element in the collection.
- Returns:
The current element in the collection.
- Raises:
InvalidOperationException – The enumerator is positioned before the first element of the collection or after the last element.
- MoveNext() bool
Advances the enumerator to the next element of the collection.
- Returns:
True if the enumerator was successfully advanced to the next element; False if the enumerator has passed the end of the collection.
- Raises:
InvalidOperationException – The collection was modified after the enumerator was created.
- Reset()
Sets the enumerator to its initial position, which is before the first element in the collection.
- Raises:
InvalidOperationException – The collection was modified after the enumerator was created.
