Partilhar via


Método GetEnumerator

Returns an enumerator that iterates through the DacCompilationErrorCollection object.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (em Microsoft.SqlServer.Management.Dac.dll)

Sintaxe

'Declaração
Public Function GetEnumerator As IEnumerator(Of DacCompilationError)
'Uso
Dim instance As DacCompilationErrorCollection
Dim returnValue As IEnumerator(Of DacCompilationError)

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

Valor de retorno

Tipo: System.Collections.Generic. . :: . .IEnumerator< (Of < ( <'DacCompilationError> ) > ) >
A [T:System.Collections.Generic.IEnumerator<DacCompilationError>] value that specifies an enumerated list of objects.

Implementa

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