Share via


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

Returns an enumerator that can iterate through the LightsCollection.

Definition

Visual Basic Overrides Public Function GetEnumerator() As IEnumeratorLeave Site
C# public override IEnumeratorLeave Site GetEnumerator();
C++ public:
virtual IEnumeratorLeave SiteGetEnumerator() override;
JScript public override function GetEnumerator() : IEnumeratorLeave Site;

Return Value

System.Collections.IEnumerator
An enumerator that can iterate through the LightsCollection.