共用方式為


SfcReferenceCollection<K, T, S>.IEnumerable<T>.GetEnumerator 方法

Returns an enumerator that iterates through a collection.

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Private Function GetEnumerator As IEnumerator(Of T)
    Implements IEnumerable(Of T).GetEnumerator
'用途
Dim instance As SfcReferenceCollection 
Dim returnValue As IEnumerator(Of T)

returnValue = CType(instance, IEnumerable(Of T)).GetEnumerator()
IEnumerator<T> IEnumerable<T>.GetEnumerator()
private:
virtual IEnumerator<T>^ GetEnumerator() sealed = IEnumerable<T>::GetEnumerator
private abstract GetEnumerator : unit -> IEnumerator<'T> 
private override GetEnumerator : unit -> IEnumerator<'T> 
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。

傳回值

型別:System.Collections.Generic.IEnumerator<T>
An enumerator that can be used to iterate through the collection.

實作

IEnumerable<T>.GetEnumerator()

請參閱

參考

SfcReferenceCollection<K, T, S> 類別

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間