ConfigurationPropertyCollection.GetEnumerator 方法
定义
在将 IEnumerator 对象应用于集合时获取该对象。Gets the IEnumerator object as it applies to 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
返回
应用于集合时的 IEnumerator 对象The IEnumerator object as it applies to the collection
实现
示例
下面的示例显示如何使用 GetEnumerator 方法。The following example shows how to use the GetEnumerator method.
下面的示例演示如何调用上述方法来枚举 ConfigurationProperty 集合中的对象。The following example shows how to call the above method to enumerate the ConfigurationProperty objects in the collection.