Range Class

Represents a range of item IDs, and the clock vector that defines what is known about the items in the range.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.Range

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

Syntax

'Declaration
Public Class Range
'Usage
Dim instance As Range
public class Range
public ref class Range
type Range =  class end
public class Range

The Range type exposes the following members.

Constructors

  Name Description
Public method Range Initializes a new instance of the Range class that contains the specified closed lower bound item ID and a clock vector that defines what is known about the items in the range.

Top

Properties

  Name Description
Public property ClockVector Gets the clock vector that defines what is known about the items in the range.
Public property ItemId Gets the closed lower bound of item IDs in this range.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

The value that is contained in ItemId is the closed lower bound on the range of item IDs that are associated with the clock vector that is contained in ClockVector. The value of ItemId also defines the open upper bound of the previous range in the parent RangeSet object, so the open upper bound of the current range can be obtained by getting the next Range object in the list. If there are no more Range objects in the list, the range that is defined by this object contains all items that have IDs greater than or equal to ItemId.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Synchronization Namespace