Udostępnij przez


Metoda TSqlCompilationErrorCollection.GetEnumerator

Zwraca moduł wyliczający wyliczyć przez TSqlCompilationErrorCollection.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Dac
Zestaw:  Microsoft.SqlServer.Management.Dac (w Microsoft.SqlServer.Management.Dac.dll)

Składnia

'Deklaracja
Public Function GetEnumerator As IEnumerator(Of TSqlCompilationError)
'Użycie
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>

Implementacje

IEnumerable<T>.GetEnumerator()