ServerGroupCollection.GetEnumerator Method

Definition

返回一个 IEnumerator 接口,该接口可用于循环访问集合中的对象。Returns an IEnumerator interface that lets you iterate through the objects in the collection.

public:
 virtual System::Collections::IEnumerator ^ GetEnumerator();
public System.Collections.IEnumerator GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.IEnumerator
override this.GetEnumerator : unit -> System.Collections.IEnumerator
Public Function GetEnumerator () As IEnumerator

Returns

IEnumerator

所引用集合的 IEnumerator 系统接口。An IEnumerator system interface for the referenced collection object.

Implements

Examples

使用集合Using Collections

Applies to