Skip to main content

TdxCloudStorageCustomFolder.FetchChildren(Boolean) Method

Loads the folder’s content structure from the connected online file storage’s server.

Declaration

procedure FetchChildren(AForce: Boolean = False);

Parameters

Name Type
AForce Boolean

Remarks

Call this procedure to populate or refresh the 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 cloud storage component’s OnTreeDataLoading event. You can pass True as the AForce optional parameter to forcefully update a previously loaded content structure.

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

Call the cloud storage component’s Files.FetchAll procedure to load the full storage content structure from the connected server.

See Also