Table of Contents

TTMSFNCCloudMicrosoftOneDrive.RenameFile Method

Renames an item.

API unit family: TMSFNCCloudMicrosoftOneDrive Declaring type: TTMSFNCCloudMicrosoftOneDrive Inherited from: TTMSFNCCustomCloudMicrosoftOneDrive

Syntax

function RenameFile(AItem: TTMSFNCCloudItem; ANewFileName: string): TTMSFNCCloudItem; override;

Parameters

Name Description
AItem Item to rename.
ANewFileName New name for the item.

Returns

The renamed item, or nil when the arguments are invalid.