Skip to main content
Table of Contents

TTMSFNCCustomCloudMicrosoftOneDrive.GetShare Method

Requests a public share URL for an item, raising OnGetShare when the URL is available.

API unit family: TMSFNCCloudMicrosoftOneDrive Declaring type: TTMSFNCCustomCloudMicrosoftOneDrive

Syntax

FMX.TMSFNCCloudMicrosoftOneDrive.hppPascalC++
procedure GetShare(AItem: TTMSFNCCloudMicrosoftOneDriveItem; ReadOnly: Boolean = True);
void __fastcall GetShare(TTMSFNCCloudMicrosoftOneDriveItem* AItem, bool ReadOnly = true);

Parameters

Name Description
AItem Item to share.
ReadOnly When True, creates a view-only link; otherwise an edit link.