Compartir a través de


GetEnumerator Método

Returns an enumerator that iterates through the DacCompilationErrorCollection object.

Espacio de nombres:  Microsoft.SqlServer.Management.Dac
Ensamblado:  Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)

Sintaxis

'Declaración
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 devuelto

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