Version

TimeRange Class Members

The following tables list the members exposed by TimeRange.

Public Constructors
 NameDescription
Public ConstructorTimeRange ConstructorOverloaded.   
Public Properties
 NameDescription
Public PropertyEndDefines the exclusive end of the range. A value exactly equal to the value of this property is outside the range; a value less than the value of this property and greater than or equal to the value of the Start property is within range.  
Public PropertyStartDefines the beginning of the range.  
Public Methods
 NameDescription
Public MethodContainsReturns true if the specified TimeSpan lies completely within this range.  
Public MethodEqualsReturns a value indicating whether this instance is equal to a specified object.  
Public MethodGetHashCodeReturns a hash code for this instance.  
Public MethodIntersectsWithReturns true if the specified TimeRange intersects with this range.  
Public MethodToStringReturns the string representation of this object.  
Protected Methods
 NameDescription
Protected MethodValidateEndWhen overridden in a derived class, provides a way to validate the value being assigned to the End property.  
Protected MethodValidateStartWhen overridden in a derived class, provides a way to validate the value being assigned to the Start property.  
See Also