Skip to main content
A newer version of this page is available. .

TimeInterval.Clone() Method

Creates a copy of the current TimeInterval object.

Namespace: DevExpress.XtraScheduler

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

NuGet Packages: DevExpress.Scheduler.Core, DevExpress.WindowsDesktop.Scheduler.Core

Declaration

[Browsable(false)]
public TimeInterval Clone()

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.

Note

This method doesn’t copy the TimeInterval.AllDay property value.

See Also