RangeSet Class

Represents a set of Range objects, each of which contains knowledge about a set of change units within a range of items.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.RangeSet

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

Syntax

'Declaration
Public Class RangeSet _
    Implements IEnumerable(Of Range), IEnumerable
'Usage
Dim instance As RangeSet
public class RangeSet : IEnumerable<Range>, 
    IEnumerable
public ref class RangeSet : IEnumerable<Range^>, 
    IEnumerable
type RangeSet =  
    class
        interface IEnumerable<Range>
        interface IEnumerable
    end
public class RangeSet implements IEnumerable<Range>, IEnumerable

The RangeSet type exposes the following members.

Constructors

  Name Description
Public method RangeSet Initializes a new instance of the RangeSet class.

Top

Methods

  Name Description
Public method AppendRange Adds the specified Range object to the end of the list.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an object that can be used to enumerate the list of Range objects.
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

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Gets an object that can be used to enumerate the list of Range objects.

Top

Remarks

A SyncKnowledge object contains a scope RangeSet object that contains knowledge about all change units that do not have an associated RangeSet defined. A SyncKnowledge object may also contain a list of RangeSet objects that contain knowledge about specific change units.

The member of IEnumerable is implemented explicitly. Code that accesses them must first cast the RangeSet object to the IEnumerable interface by using the casting operator or the as keyword.

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