AppExtension.GetPublicFolderAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.