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

function CreateFolderPromise(AFolder: TTMSFNCCloudItem; const AFolderName: string): IPromise<TVoid>; override;

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.