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


Метод GetEnumerator

Returns an enumerator to enumerate through the TSqlCompilationErrorCollection.

Пространство имен:  Microsoft.SqlServer.Management.Dac
Сборка:  Microsoft.SqlServer.Management.Dac (в Microsoft.SqlServer.Management.Dac.dll)

Синтаксис

'Декларация
Public Function GetEnumerator As IEnumerator(Of TSqlCompilationError)
'Применение
Dim instance As TSqlCompilationErrorCollection
Dim returnValue As IEnumerator(Of TSqlCompilationError)

returnValue = instance.GetEnumerator()
public IEnumerator<TSqlCompilationError> GetEnumerator()
public:
virtual IEnumerator<TSqlCompilationError>^ GetEnumerator() sealed
abstract GetEnumerator : unit -> IEnumerator<TSqlCompilationError> 
override GetEnumerator : unit -> IEnumerator<TSqlCompilationError> 
public final function GetEnumerator() : IEnumerator<TSqlCompilationError>

Возвращаемое значение

Тип: System.Collections.Generic. . :: . .IEnumerator< (Of < ( <'TSqlCompilationError> ) > ) >
An IEnumerator for the TSqlCompilationErrorCollection.

Реализует

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