TdxCloudStorage.FetchChildren(TdxCloudStorageFolder) Method
Loads the content structure for a specified cloud storage folder.
Declaration
procedure FetchChildren(AFolder: TdxCloudStorageFolder);
Parameters
Name | Type | Description |
---|---|---|
AFolder | TdxCloudStorageFolder | A metadata container that corresponds to the target cloud storage folder. |
Remarks
Call this procedure to populate or refresh the specified folder’s list of nested cloud files and folders. A FetchChildren procedure call loads a list of files and folders if the folder’s content structure is empty (that is, the IsLoaded property returns False) and raises the OnTreeDataLoading event.
If a FetchChildren procedure call successfully populates the folder’s list of resources at the first nesting level, the cloud storage raises the OnTreeDataLoaded event; otherwise, the OnError event occurs.
Note
The FetchChildren procedure always runs in the same thread from which it was invoked. You can call the Files.FetchAll procedure to load the full storage content structure from the connected server.