[]
        
(Showing Draft Content)

C1.C1Schedule.DateList.Contains

Contains Method

Contains(DateTime)

Returns true if specified item exists in the wrapped list.

Declaration
public bool Contains(DateTime item)
Parameters
Type Name Description
DateTime item

An item to search for.

Returns
Type Description
bool

True if item exists in the wrapped list.

Contains(DateTime[])

Returns true if either of specified items exists in the wrapped list.

Declaration
public bool Contains(DateTime[] days)
Parameters
Type Name Description
DateTime[] days

An array of DateTime values to search for.

Returns
Type Description
bool

True if at least one of specified items exists in the wrapped list.

Contains(IList<DateTime>)

Returns true if either of specified items exists in the wrapped list.

Declaration
public bool Contains(IList<DateTime> days)
Parameters
Type Name Description
IList<DateTime> days

A list of DateTime values to search for.

Returns
Type Description
bool

True if at least one of specified items exists in the wrapped list.