GetEnumerator 方法

不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets an enumeration of the collection.

命名空间:  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 SfcListCollection
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> ) > ) >
A IEnumerator object for the collection.

实现

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