Skip to main content
Table of Contents

TTMSFNCCloudBox.CreateFolderPromise Method

Creates a folder asynchronously and returns a promise that resolves when the request completes.

API unit family: TMSFNCCloudBox Declaring type: TTMSFNCCloudBox Inherited from: TTMSFNCCustomCloudBox

Syntax

FMX.TMSFNCCloudBox.hppPascalC++
function CreateFolderPromise(AFolder: TTMSFNCCloudItem; const AFolderName: string): IPromise<TVoid>; override;
virtual System::DelphiInterface<IPromise__1<TVoid*> > __fastcall CreateFolderPromise(TTMSFNCCloudItem* AFolder, const System::UnicodeString AFolderName);

Parameters

Name Description
AFolder Parent folder. Pass nil for root when supported.
AFolderName Name of the folder to create.

Returns

A promise that resolves when the create-folder request finishes.