Scheduler for WinForms | ComponentOne
C1.Win.C1Schedule.4.5.2 Assembly / C1.C1Schedule Namespace / Appointment Class / CopyFrom Method / CopyFrom(Appointment,Boolean) Method
The Appointment instance to copy.
Specifies whether to copy internal keys.

In This Topic
    CopyFrom(Appointment,Boolean) Method
    In This Topic
    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