Scheduler for WPF | ComponentOne
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 String _
    ) 
    public void SetOwner( 
       BaseObject newOwner,
       BaseObject oldOwner,
       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