Skip to main content

TimeInterval.Clone(Boolean) Method

Creates a copy of the current TimeInterval object.

Namespace: DevExpress.XtraScheduler

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

NuGet Package: DevExpress.Scheduler.Core

#Declaration

public TimeInterval Clone(
    bool cloneAllDay
)

#Parameters

Name Type Description
cloneAllDay Boolean

True, to copy the TimeInterval.AllDay property value; otherwise, false.

#Returns

Type Description
TimeInterval

A TimeInterval object which is a copy of the current object.

#Remarks

This method creates a new instance of the TimeInterval class and copies all the values of the current TimeInterval‘s properties to it.

See Also