Поделиться через


Метод 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