Compartir a través de


EventPropertyCollection.GetEnumerator Método

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

Esta API no es compatible con CLS. 

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

Sintaxis

'Declaración
<CLSCompliantAttribute(False)> _
Public Function GetEnumerator As IEnumerator(Of EventProperty)
'Uso
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>

Valor devuelto

Tipo: System.Collections.Generic.IEnumerator<EventProperty>
An IEnumerator object value that can be used to iterate through the collection.

Implementa

IEnumerable<T>.GetEnumerator()

Ejemplos

Usar colecciones

Vea también

Referencia

EventPropertyCollection Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo