TdxCloudStorage.CreateFolder(TdxCloudStorageFolder,string) Method
Creates a folder in a specified parent folder in a cloud storage.
Declaration
function CreateFolder(AParent: TdxCloudStorageFolder; const AName: string): TdxCloudStorageFolder; overload;
Parameters
| Name | Type | Description |
|---|---|---|
| AParent | TdxCloudStorageFolder | A cloud folder metadata container. |
| AName | string | The name of a new folder. |
Returns
| Type | Description |
|---|---|
| TdxCloudStorageFolder | A cloud folder metadata container. |
Remarks
This function returns a newly created or an existing cloud folder. If an error occurs, the CreateFolder function returns nil (in Delphi) or nullptr/NULL (in C++Builder).
Note
The CreateFolder function always runs in the same thread from which it was invoked.
See Also