Share via


Range Constructor

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.

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

Syntax

'Declaration
Public Sub New ( _
    itemId As SyncId, _
    clockVector As IClockVector _
)
'Usage
Dim itemId As SyncId
Dim clockVector As IClockVector

Dim instance As New Range(itemId, clockVector)
public Range (
    SyncId itemId,
    IClockVector clockVector
)
public:
Range (
    SyncId^ itemId, 
    IClockVector^ clockVector
)
public Range (
    SyncId itemId, 
    IClockVector clockVector
)
public function Range (
    itemId : SyncId, 
    clockVector : IClockVector
)

Parameters

  • itemId
    The closed lower bound on the item IDs in the range.
  • clockVector
    A clock vector that defines what is known about the items in the range.

Exceptions

Exception type Condition

ArgumentNullException

A required parameter is a null reference (Nothing in Visual Basic).

Remarks

The range is a set of item IDs that begins at the closed lower bound specified by itemId and ends at the open upper bound specified by the ItemId property of the next Range in the parent RangeSet.

See Also

Reference

Range Class
Range Members
Microsoft.Synchronization Namespace