[]
Sets a new group owner for the current appointment
public void SetOwner(BaseObject newOwner, BaseObject oldOwner, string groupBy)
| Type | Name | Description |
|---|---|---|
| BaseObject | newOwner | The new owner object. |
| BaseObject | oldOwner | The old owner object. |
| string | groupBy | The string defining owning control grouping. |
| Type | Condition |
|---|---|
| ArgumentException | the type of owner object doesn't fit into specified grouping option. |