ComponentOne Scheduler for WinForms
CopyFrom(Appointment,Boolean) Method

C1.Win.C1Schedule.4 Assembly > C1.C1Schedule Namespace > Appointment Class > CopyFrom Method : CopyFrom(Appointment,Boolean) Method
The Appointment instance to copy.
Specifies whether to copy internal keys.
Copies properties from the specified Appointment object to this one.
Syntax
'Declaration
 
Public Overloads Sub CopyFrom( _
   ByVal app As Appointment, _
   ByVal includeKeys As System.Boolean _
) 
public void CopyFrom( 
   Appointment app,
   System.bool includeKeys
)

Parameters

app
The Appointment instance to copy.
includeKeys
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).

See Also

Reference

Appointment Class
Appointment Members
Overload List