Returns an enumerator that can iterate the collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Public MustOverride Function GetEnumerator As IEnumerator(Of T)
用法
Dim instance As SfcCollection
Dim returnValue As IEnumerator(Of T)
returnValue = instance.GetEnumerator()
public abstract IEnumerator<T> GetEnumerator()
public:
virtual IEnumerator<T>^ GetEnumerator() abstract
abstract GetEnumerator : unit -> IEnumerator<'T>
public abstract function GetEnumerator() : IEnumerator<T>
返回值
类型:System.Collections.Generic.IEnumerator<T>
An IEnumerator<T> object.
实现
IEnumerable<T>.GetEnumerator()