Share via


AppExtension.GetPublicFolderAsync Method

Definition

Gets the subfolder provided by the PublicFolder attribute in the app extension for sharing files between the extension and the host.

public:
 virtual IAsyncOperation<StorageFolder ^> ^ GetPublicFolderAsync() = GetPublicFolderAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<StorageFolder> GetPublicFolderAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<StorageFolder> GetPublicFolderAsync();
function getPublicFolderAsync()
Public Function GetPublicFolderAsync () As IAsyncOperation(Of StorageFolder)

Returns

The public sub-folder.

Attributes

Remarks

Extensions must create this folder by populating it with files as part of their package definition. It is read-only to both the extension and its host.

Applies to

See also