Copies properties from the specified Appointment object to this one.
Namespace:
C1.C1ScheduleAssembly: C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)
Syntax
C# |
---|
public void CopyFrom( Appointment app, bool includeKeys ) |
Visual Basic |
---|
Public Sub CopyFrom ( _ app As Appointment, _ includeKeys As Boolean _ ) |
Parameters
- app
- Type: C1.C1Schedule..::..Appointment
The Appointment instance to copy.
- includeKeys
- Type: System..::..Boolean
Specifies whether to copy internal keys.
Remarks
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).