Skip to main content
Table of Contents

TTMSFNCCustomCloudMicrosoftOneDrive.RenameFile Method

Renames an item.

API unit family: TMSFNCCloudMicrosoftOneDrive Declaring type: TTMSFNCCustomCloudMicrosoftOneDrive

Syntax

FMX.TMSFNCCloudMicrosoftOneDrive.hppPascalC++
function RenameFile(AItem: TTMSFNCCloudItem; ANewFileName: string): TTMSFNCCloudItem; override;
virtual TTMSFNCCloudItem* __fastcall RenameFile(TTMSFNCCloudItem* AItem, System::UnicodeString ANewFileName);

Parameters

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

Returns

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