ICollection.GetEnumerator Method

Definition

Gets a list of items in a collection.

public:
 System::Collections::IEnumerator ^ GetEnumerator();
[System.Runtime.InteropServices.DispId(-4)]
[System.Runtime.InteropServices.TypeLibFunc]
public System.Collections.IEnumerator GetEnumerator ();
[<System.Runtime.InteropServices.DispId(-4)>]
[<System.Runtime.InteropServices.TypeLibFunc>]
abstract member GetEnumerator : unit -> System.Collections.IEnumerator
Public Function GetEnumerator () As IEnumerator

Returns

An enumerated list of items in the collection.

Implements

Attributes

Applies to