LightsCollection.Reset() Method (Microsoft.DirectX.Direct3D)

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 ResetLeave Site is called, the cursor is undefined. Call MoveNextLeave Site initially to point to the first item in the list.