Scheduler for WinForms | ComponentOne
C1.ScheduleCore Assembly / C1.Schedule Namespace / Appointment Class / SetOwner Method
The new owner object.
The old owner object.
The string defining owning control grouping.

In This Topic
    SetOwner Method
    In This Topic
    Sets a new group owner for the current appointment
    Syntax
    'Declaration
     
    Public Sub SetOwner( _
       ByVal newOwner As BaseObject, _
       ByVal oldOwner As BaseObject, _
       ByVal groupBy As System.String _
    ) 
    public void SetOwner( 
       BaseObject newOwner,
       BaseObject oldOwner,
       System.string groupBy
    )

    Parameters

    newOwner
    The new owner object.
    oldOwner
    The old owner object.
    groupBy
    The string defining owning control grouping.
    Exceptions
    ExceptionDescription
    the type of owner object doesn't fit into specified grouping option.
    See Also