Dela via


ClockVector.IEnumerable.GetEnumerator Method

Returns an enumerator that iterates through the collection of clock vector elements.

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

Syntax

'Declaration
Private Function GetEnumerator As IEnumerator
    Implements IEnumerable.GetEnumerator
'Usage
Dim instance As ClockVector
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
An IEnumerator object that can be used to iterate through the clock vector element collection.

Implements

IEnumerable.GetEnumerator()

Remarks

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

See Also

Reference

ClockVector Class

Microsoft.Synchronization Namespace