MqttSyncClientDeleteFile 方法 (String, String) |
[文件引擎] 删除服务器的指定的文件名,需要指定分类信息,文件名
[File Engine] Delete the specified file name of the server, need to specify the classification information, file name
命名空间:
HslCommunication.MQTT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult DeleteFile(
string groups,
string[] fileNames
)
Public Function DeleteFile (
groups As String,
fileNames As String()
) As OperateResult
public:
OperateResult^ DeleteFile(
String^ groups,
array<String^>^ fileNames
)
member DeleteFile :
groups : string *
fileNames : string[] -> OperateResult
参数
- groups
- 类型:SystemString
文件的类别,例如 Files/Personal/Admin 按照斜杠来区分 - fileNames
- 类型:SystemString
[缺少 "M:HslCommunication.MQTT.MqttSyncClient.DeleteFile(System.String,System.String[])" 的 <param name="fileNames"/> 文档]
返回值
类型:
OperateResult是否删除成功
参见