Freigeben über


GetEnumerator-Methode

Gets an enumerator that can iterate through the list of objects.

Diese API ist nicht mit CLS kompatibel. 

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Function GetEnumerator As IEnumerator(Of EventProperty)
'Usage
Dim instance As EventPropertyCollection
Dim returnValue As IEnumerator(Of EventProperty)

returnValue = instance.GetEnumerator()
[CLSCompliantAttribute(false)]
public IEnumerator<EventProperty> GetEnumerator()
[CLSCompliantAttribute(false)]
public:
virtual IEnumerator<EventProperty^>^ GetEnumerator() sealed
[<CLSCompliantAttribute(false)>]
abstract GetEnumerator : unit -> IEnumerator<EventProperty> 
[<CLSCompliantAttribute(false)>]
override GetEnumerator : unit -> IEnumerator<EventProperty> 
public final function GetEnumerator() : IEnumerator<EventProperty>

Rückgabewert

Typ: System.Collections.Generic. . :: . .IEnumerator< (Of < ( <'EventProperty> ) > ) >
An IEnumerator object value that can be used to iterate through the collection.

Implementiert

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