Udostępnij za pośrednictwem


RangeSet.System.Collections.IEnumerable.GetEnumerator Method

Gets an object that can be used to enumerate the list of Range objects.

Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)

Syntax

'Declaration
Private Function System.Collections.IEnumerable.GetEnumerator As IEnumerator Implements IEnumerable.GetEnumerator
'Usage
Dim instance As RangeSet
Dim returnValue As IEnumerator

returnValue = CType(instance, IEnumerable).GetEnumerator
IEnumerator IEnumerable.GetEnumerator ()
private:
virtual IEnumerator^ System.Collections.IEnumerable.GetEnumerator () sealed = IEnumerable::GetEnumerator
J# supports the use of explicit interface implementations, but not the declaration of new ones.
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

An IEnumerator object that can be used to iterate through the range set collection.

Remarks

This member is implemented explicitly. Code that accesses this method must first cast RangeSet to the IEnumerable interface.

See Also

Reference

RangeSet Class
RangeSet Members
Microsoft.Synchronization Namespace