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()