GetEnumerator méthode
Returns an IEnumerator interface that allows you to iterate through the objects in the collection.
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 ServerIPAddressCollection
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
An IEnumerator system interface for the referenced collection object.