共用方式為


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 物件,可用於逐一查看集合。

實作

適用於