Click or drag to resize

RangeT Methods

The RangeT type exposes the following members.

Methods
 NameDescription
Public methodCompareTo(Object) Compares this instance to a specified Object and returns an indication of their relative values.
Public methodCode exampleCompareTo(T) Compares this instance to a specified DateTimeOffset structure and returns an indication of their relative values.
Public methodCompareTo(RangeT)Defines a generalized comparison method that a value type or class implements to create a type-specific comparison method for ordering or sorting its instances.
Public methodContains(IRangeT) Returns true if the given RangeT is contained within this range.
Public methodContains(T) Returns true if the given range is contained within this range.
Public methodEquals(Object)Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object))
Public methodEquals(RangeT) Determines whether the specified RangeT is equal to the current RangeT.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeReturns the hash code for this instance.
(Overrides ValueTypeGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOverlaps(IRangeT) Returns true if the given range is partially contained within this range.
Public methodOverlaps(RangeT) Returns true if the given RangeT is partially contained within this RangeT.
Public methodToStringReturns the fully qualified type name of this instance.
(Overrides ValueTypeToString)
Top
See Also