Xceed Toolkit for Maui v2.0 Documentation
Contains(DateOnly) Method


Xceed.Maui.Toolkit Assembly > Xceed.Maui.Toolkit Namespace > CalendarBlackoutDatesCollection Class > Contains Method : Contains(DateOnly) Method
The date that will be evaluated.
Determines if a specific date is part of the CalendarBlackoutDatesCollection.
Syntax
'Declaration
 
Public Overloads Function Contains( _
   ByVal date As DateOnly _
) As Boolean
'Usage
 
Dim instance As CalendarBlackoutDatesCollection
Dim date As DateOnly
Dim value As Boolean
 
value = instance.Contains(date)
public bool Contains( 
   DateOnly date
)

Parameters

date
The date that will be evaluated.

Return Value

Returns true if the specific date is part of the CalendarBlackoutDatesCollection; returns false otherwise.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, 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

Reference

CalendarBlackoutDatesCollection Class
CalendarBlackoutDatesCollection Members
Overload List