 | ChannelMoveTo Method |
Move the channel to a new parent channel
Namespace:
TeamSpeak.Sdk.Client
Assembly:
TeamSpeak.Sdk (in TeamSpeak.Sdk.dll) Version: 0.1.6124.20226 (0.1.0.0)
Syntaxpublic Task MoveTo(
Channel newParent,
Channel newChannelOrder = null
)
Public Function MoveTo (
newParent As Channel,
Optional newChannelOrder As Channel = Nothing
) As Task
public:
Task^ MoveTo(
Channel^ newParent,
Channel^ newChannelOrder = nullptr
)
member MoveTo :
newParent : Channel *
?newChannelOrder : Channel
(* Defaults:
let _newChannelOrder = defaultArg newChannelOrder null
*)
-> Task
Parameters
- newParent
- Type: TeamSpeak.Sdk.ClientChannel
The parent channel where the moved channel is to be inserted as child. Use null to insert as top-level channel. - newChannelOrder (Optional)
- Type: TeamSpeak.Sdk.ClientChannel
the Channel after which thisChannel is sorted. meaning its going to be the first Channel under newParent.
Return Value
Type:
TaskA task that represents the asynchronous operation.
See Also