共用方式為


DacCompilationErrorCollection.GetEnumerator Method

Returns an enumerator that iterates through the DacCompilationErrorCollection object.

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

Syntax

'宣告
Public Function GetEnumerator As IEnumerator(Of DacCompilationError)
'用途
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>

Return Value

Type: IEnumerator<DacCompilationError>
A [T:System.Collections.Generic.IEnumerator<DacCompilationError>] value that specifies an enumerated list of objects.

Implements

IEnumerableGetEnumerator()

See Also

Reference

DacCompilationErrorCollection Class

Microsoft.SqlServer.Management.Dac Namespace