Version

Contains(DateRange) Method

Indicates if the dates of the specified range fall completely within the dates of this range instance.
Syntax
'Declaration
 
Public Overloads Function Contains( _
   ByVal range As DateRange _
) As Boolean
public bool Contains( 
   DateRange range
)

Parameters

range
The range to evaluate

Return Value

True if the start and end date fall entirely within or equal to the start and end of this range instance.
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