Share via


Méthode GetEnumerator

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

Cette API n'est pas conforme CLS. 

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<CLSCompliantAttribute(False)> _
Public Function GetEnumerator As IEnumerator(Of EventProperty)
'Utilisation
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>

Valeur de retour

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

Implémente

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