GetEnumerator méthode
Gets an enumerator that can iterate through the list of objects.
Espace de noms : Microsoft.SqlServer.Management.Smo.Wmi
Assembly : Microsoft.SqlServer.SqlWmiManagement (dans Microsoft.SqlServer.SqlWmiManagement.dll)
Syntaxe
'Déclaration
Public Function GetEnumerator As IEnumerator
'Utilisation
Dim instance As ClientProtocolCollection
Dim returnValue As IEnumerator
returnValue = instance.GetEnumerator()
public IEnumerator GetEnumerator()
public:
virtual IEnumerator^ GetEnumerator() sealed
abstract GetEnumerator : unit -> IEnumerator
override GetEnumerator : unit -> IEnumerator
public final function GetEnumerator() : IEnumerator
Valeur de retour
Type : System.Collections. . :: . .IEnumerator
A IEnumerator object value that specifies that can be used to iterate through the collection.