[]
        
(Showing Draft Content)

C1.Schedule.Appointment.CopyFrom

CopyFrom Method

CopyFrom(Appointment, bool)

Copies properties from the specified Appointment object to this one.

Declaration
public void CopyFrom(Appointment app, bool includeKeys)
Parameters
Type Name Description
Appointment app

The Appointment instance to copy.

bool includeKeys

Specifies whether to copy internal keys.

Remarks
<p>Set includeKeys to true if you want to receive exact copy 

of the specified Appointment object.

Set includeKeys to false in order to copy only descriptive Appointment properties to other Appointment object (for example, if you want to duplicate appointment from one day to another).

CopyFrom(Appointment, bool, bool)

Copies properties from the specified Appointment object to this one.

Declaration
public void CopyFrom(Appointment app, bool includeKeys, bool includeRecurrenceInformation)
Parameters
Type Name Description
Appointment app

The Appointment instance to copy.

bool includeKeys

Specifies whether to copy internal keys.

bool includeRecurrenceInformation

Specifies whether to copy recurrence information if any.

Remarks
<p>Set includeKeys to true if you want to receive exact copy 

of the specified Appointment object.

Set includeKeys to false in order to copy only descriptive Appointment properties to other Appointment object (for example, if you want to duplicate appointment from one day to another).

Set includeRecurrenceInformation to false to exclude RecurrenceState, ParentRecurrence and RecurrencePattern information.