GroupFileContainerDeleteFile 方法 |
删除一个文件信息,传入文件实际的名称,例如 123.txt 返回被删除的文件的guid名称,例如返回 b35a11ec533147ca80c7f7d1713f015b7909 此方法存在同名文件删除的风险
Delete a file information. Pass in the actual name of the file. For example, 123.txt returns the guid name of the deleted file. For example, it returns b35a11ec533147ca80c7f7d1713f015b7909. There is a risk of deleting the file with the same name
命名空间:
HslCommunication.Core
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public string DeleteFile(
string fileName
)
Public Function DeleteFile (
fileName As String
) As String
public:
String^ DeleteFile(
String^ fileName
)
member DeleteFile :
fileName : string -> string
参数
- fileName
- 类型:SystemString
实际的文件名称,如果 123.txt
返回值
类型:
String映射之后的文件名,例如 b35a11ec533147ca80c7f7d1713f015b7909
参见