LightsCollection.Reset Method |
Language: |
Resets the current enumerator to point to the head of the queue.
Visual Basic Overrides Public Sub Reset() C# public override void Reset(); C++ public:
virtual void Reset() override;JScript public override function Reset();
An enumerator can move only in a forward direction. This method restarts the enumerator at the beginning of the queue.
After Reset is called, the cursor is undefined. Call MoveNext 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.