MqttSyncClientGetSubGroupFileInfos 方法 |
[文件引擎] 获取服务器文件夹的指定目录的所有子目录的文件信息,包括每个子目录的文件数量,总大小,最后更新时间
[File Engine] Get the file information of all subdirectories of the specified directory of the server folder, including the number of files in each subdirectory, the total size, and the last update time
命名空间:
HslCommunication.MQTT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult<GroupFileInfo[]> GetSubGroupFileInfos(
string groups,
bool withLastFileInfo = false
)
Public Function GetSubGroupFileInfos (
groups As String,
Optional withLastFileInfo As Boolean = false
) As OperateResult(Of GroupFileInfo())
public:
OperateResult<array<GroupFileInfo^>^>^ GetSubGroupFileInfos(
String^ groups,
bool withLastFileInfo = false
)
member GetSubGroupFileInfos :
groups : string *
?withLastFileInfo : bool
(* Defaults:
let _withLastFileInfo = defaultArg withLastFileInfo false
*)
-> OperateResult<GroupFileInfo[]>
参数
- groups
- 类型:SystemString
文件的类别,例如 Files/Personal/Admin 按照斜杠来区分 - withLastFileInfo (Optional)
- 类型:SystemBoolean
是否让服务器携带最新的文件信息返回
返回值
类型:
OperateResultGroupFileInfo服务器文件大小的结果对象,单位:字节数
参见