Version

Intersect(DateRange) Method

Attempts to update the Start and End if the specified range intersects with this instance
Syntax
'Declaration
 
Public Function Intersect( _
   ByVal range As DateRange _
) As Boolean
public bool Intersect( 
   DateRange range
)

Parameters

range
The range to intersect

Return Value

True if the ranges intersect; false if the ranges do not intersect.
Remarks

If the specified range does not intersect then this instance's Start and End will not be changed. If they do intersect then the Start and End will be updated to reflect the intersection of the normalized two ranges.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also