Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / BlackoutDatesCollection Class / Contains Method / Contains(DateTime) Method
The date to search for.


In This Topic
    Contains(DateTime) Method
    In This Topic
    Returns a value that represents whether this collection contains the specified date.
    Syntax
    'Declaration
     
    Public Overloads Function Contains( _
       ByVal date As Date _
    ) As Boolean
    'Usage
     
    Dim instance As BlackoutDatesCollection
    Dim date As Date
    Dim value As Boolean
     
    value = instance.Contains(date)
    public bool Contains( 
       DateTime date
    )

    Parameters

    date
    The date to search for.

    Return Value

    true if the collection contains the specified date; otherwise, false.
    See Also