Back to Devexpress

DxSchedulerDataStorage.CopyAppointment(DxSchedulerAppointmentItem) Method

blazor-devexpress-dot-blazor-dot-dxschedulerdatastorage-dot-copyappointment-x28-devexpress-dot-blazor-dot-dxschedulerappointmentitem-x29.md

latest1.4 KB
Original Source

DxSchedulerDataStorage.CopyAppointment(DxSchedulerAppointmentItem) Method

Creates a copy of the appointment item.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public DxSchedulerAppointmentItem CopyAppointment(
    DxSchedulerAppointmentItem item
)

Parameters

NameTypeDescription
itemDxSchedulerAppointmentItem

An appointment item being copied.

|

Returns

TypeDescription
DxSchedulerAppointmentItem

A copy of the specified appointment item.

|

Remarks

The CopyAppointment method creates a valid copy of the appointment preserving its type and recurrence info.

Important

A copy of the specified appointment has its ID set to a default initial value (0 (zero) for integer type, null for the string type). You should specify a valid ID before adding an appointment copy to the storage.

See Also

DxSchedulerDataStorage Class

DxSchedulerDataStorage Members

DevExpress.Blazor Namespace