Skip to main content

TimeIntervalCollectionEx.Remove(TimeInterval) Method

Overrides the corresponding method of the TimeIntervalCollection class.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.Core.dll

Declaration

public override bool Remove(
    TimeInterval interval
)

Parameters

Name Type Description
interval TimeInterval

A TimeInterval object to remove from the collection.

Returns

Type Description
Boolean

true if an item is successfully removed from the collection; false if a specified interval is null.

Remarks

This method removes the specified time interval from the time interval represented by this collection. If the specified interval is in the middle of the time interval represented by this collection, then, after it has been removed, the collection will contain two time intervals outside the time interval specified.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Remove(TimeInterval) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also