共用方式為


GetEnumerator 方法

Returns an enumerator that can iterate through the collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

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

語法

'宣告
Public Overrides Function GetEnumerator As IEnumerator(Of T)
'用途
Dim instance As SfcCollatedDictionaryCollection
Dim returnValue As IEnumerator(Of T)

returnValue = instance.GetEnumerator()
public override IEnumerator<T> GetEnumerator()
public:
virtual IEnumerator<T>^ GetEnumerator() override
abstract GetEnumerator : unit -> IEnumerator<'T> 
override GetEnumerator : unit -> IEnumerator<'T> 
public override function GetEnumerator() : IEnumerator<T>

傳回值

型別:System.Collections.Generic. . :: . .IEnumerator< (Of < ( <'T> ) > ) >
An IEnumerator<(Of <(<'T>)>)> object.

實作

IEnumerable< (Of < ( <'T> ) > ) >. . :: . .GetEnumerator() () () ()