FanucSeries0iDeleteFileAsync 方法 |
根据指定的文件名来删除文件,如果是路径,则必须 '/' 结尾,如果是文件,则需要输入完整的文件名,例如://CNC_MEM/USER/PATH2/O12
Delete the file according to the specified file name, if it is a path, it must end with '/', if it is a file, you need to enter the complete file name, for example: //CNC_MEM/USER/PATH2/O12
命名空间:
HslCommunication.CNC.Fanuc
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult> DeleteFileAsync(
string fileName
)
Public Function DeleteFileAsync (
fileName As String
) As Task(Of OperateResult)
public:
Task<OperateResult^>^ DeleteFileAsync(
String^ fileName
)
member DeleteFileAsync :
fileName : string -> Task<OperateResult>
参数
- fileName
- 类型:SystemString
文件名称,也可以是路径信息,例如://CNC_MEM/USER/PATH2/O12
返回值
类型:
TaskOperateResult是否删除成功
参见