 | ChannelDeleteFile Method (String, String) |
Delete one or more remote files on the server.
Namespace:
TeamSpeak.Sdk.Client
Assembly:
TeamSpeak.Sdk (in TeamSpeak.Sdk.dll) Version: 0.1.6124.20226 (0.1.0.0)
Syntaxpublic Task DeleteFile(
string[] files,
string channelPassword = null
)
Public Function DeleteFile (
files As String(),
Optional channelPassword As String = Nothing
) As Task
public:
Task^ DeleteFile(
array<String^>^ files,
String^ channelPassword = nullptr
)
member DeleteFile :
files : string[] *
?channelPassword : string
(* Defaults:
let _channelPassword = defaultArg channelPassword null
*)
-> Task
Parameters
- files
- Type: SystemString
List of files we request to be deleted. The file names need to include the full path within the channel, e.g. “/file” for a top-level file or “/dir1/dir2/file” for a file located in a subdirectory. - channelPassword (Optional)
- Type: SystemString
Optional channel password. Pass empty string or null if unused.
Return Value
Type:
TaskA task that represents the asynchronous operation.
See Also