FanucSeries0iReadAllDirectoryAndFileCountAsync 方法 |
获取指定的路径里所有的文件夹数量和文件数量之和,路径示例:例如 "//CNC_MEM/USER/", "//CNC_MEM/USER/PATH1/"
命名空间:
HslCommunication.CNC.Fanuc
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<int>> ReadAllDirectoryAndFileCountAsync(
string path
)
Public Function ReadAllDirectoryAndFileCountAsync (
path As String
) As Task(Of OperateResult(Of Integer))
public:
Task<OperateResult<int>^>^ ReadAllDirectoryAndFileCountAsync(
String^ path
)
member ReadAllDirectoryAndFileCountAsync :
path : string -> Task<OperateResult<int>>
参数
- path
- 类型:SystemString
路径信息,例如 "//CNC_MEM/USER/"
返回值
类型:
TaskOperateResultInt32文件夹数量和文件数量之和
参见