[]
Returns a value that represents whether this collection contains the specified date.
public bool Contains(DateTime date)
Public Function Contains([date] As Date) As Boolean
Type | Name | Description |
---|---|---|
DateTime | date | The date to search for. |
Type | Description |
---|---|
bool | true if the collection contains the specified date; otherwise, false. |
Returns a value that represents whether this collection contains the specified range of dates.
public bool Contains(DateTime start, DateTime end)
Public Function Contains(start As Date, [end] As Date) As Boolean
Type | Name | Description |
---|---|---|
DateTime | start | The start of the date range. |
DateTime | end | The end of the date range. |
Type | Description |
---|---|
bool | true if all dates in the range are contained in the collection; otherwise, false. |
Checks if a GrapeCity.Windows.InputMan.CalendarDateRange is in the collection.
public bool Contains(CalendarDateRange range)
Public Function Contains(range As CalendarDateRange) As Boolean
Type | Name | Description |
---|---|---|
CalendarDateRange | range | The GrapeCity.Windows.InputMan.CalendarDateRange. |
Type | Description |
---|---|
bool | true if all dates in the GrapeCity.Windows.InputMan.CalendarDateRange are contained in the collection; otherwise, false. |