Version

DateTimeRange Class Members

The following tables list the members exposed by DateTimeRange.

Public Constructors
 NameDescription
Public ConstructorDateTimeRange ConstructorCreates a new instance with the specified start and end times.  
Public Properties
 NameDescription
Public PropertyEndReturns the date and time of the end of the range.  
Public PropertyStartReturns the date and time of the beginning of the range.  
Public Methods
 NameDescription
Public MethodContainsReturns a boolean value indicating whether the specified date/time value lies completely within this range.  
Public MethodIntersectsWithOverloaded. Returns a boolean value indicating whether the specified range intersects with any part of this range.  
Public MethodToStringReturns the string representation of this object.  
See Also