Aracılığıyla paylaş


DependencyCollection.IEnumerable.GetEnumerator Method

Returns an IEnumerator interface that is required to iterate through a collection.

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

Syntax

'Bildirim
Private Function GetEnumerator As IEnumerator
    Implements IEnumerable.GetEnumerator
'Kullanım
Dim instance As DependencyCollection
Dim returnValue As IEnumerator

returnValue = CType(instance, IEnumerable).GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()
private:
virtual IEnumerator^ GetEnumerator() sealed = IEnumerable::GetEnumerator
private abstract GetEnumerator : unit -> IEnumerator 
private override GetEnumerator : unit -> IEnumerator 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

Type: System.Collections.IEnumerator
Returns an IEnumerator interface that is required to iterate through a collection.

Implements

IEnumerable.GetEnumerator()

See Also

Reference

DependencyCollection Class

Microsoft.SqlServer.Management.Smo Namespace