ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>.GetEnumerator 方法

定义

返回可遍历集合的 IEnumerator。 无法继承此方法。

public:
 virtual System::Collections::Generic::IEnumerator<TServiceModelExtensionElement> ^ GetEnumerator();
public System.Collections.Generic.IEnumerator<TServiceModelExtensionElement> GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.Generic.IEnumerator<'ServiceModelExtensionElement (requires 'ServiceModelExtensionElement :> System.ServiceModel.Configuration.ServiceModelExtensionElement)>
override this.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<'ServiceModelExtensionElement (requires 'ServiceModelExtensionElement :> System.ServiceModel.Configuration.ServiceModelExtensionElement)>
Public Function GetEnumerator () As IEnumerator(Of TServiceModelExtensionElement)
Public Iterator Overridable NotOverridable Function GetEnumerator () As IEnumerator(Of TServiceModelExtensionElement)

返回

IEnumerator<TServiceModelExtensionElement>

一个可用于循环访问集合的 IEnumerator 对象。

实现

适用于