ServiceManager.GetEnumerator 方法

定義

擷取列舉程式,該列舉程式可用於列舉這個服務管理員所發行的所有服務。

public:
 abstract System::Collections::Generic::IEnumerator<Type ^> ^ GetEnumerator();
public abstract System.Collections.Generic.IEnumerator<Type> GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.Generic.IEnumerator<Type>
Public MustOverride Function GetEnumerator () As IEnumerator(Of Type)

傳回

傳回 IEnumerator<T>,其中包含已發行之服務的列舉。

實作

適用於