Skip to main content

DateTimeRange.Contains(DateTime) Method

Checks whether the range contains the specified date-time value.

Namespace: DevExpress.XamarinForms.Scheduler

Assembly: DevExpress.XamarinForms.Scheduler.dll

NuGet Package: DevExpress.XamarinForms.Scheduler

#Declaration

C#
public bool Contains(
    DateTime date
)

#Parameters

Name Type Description
date DateTime

The date time value to check.

#Returns

Type Description
Boolean

true, if the range contains the date-time value; otherwise, false.

See Also