LightsCollection.Reset Method

Language:

Resets the current enumerator to point to the head of the queue.

Definition

Visual Basic Overrides Public Sub Reset()
C# public override void Reset();
C++ public:
virtual void Reset() override;
JScript public override function Reset();

Remarks

An enumerator can move only in a forward direction. This method restarts the enumerator at the beginning of the queue.

After Reset Leave Site is called, the cursor is undefined. Call MoveNext Leave Site initially to point to the first item in the list.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.