AppExtension.GetPublicFolder Method

Definition

Gets the readable subfolder in the extension's isolated storage.

public:
 virtual StorageFolder ^ GetPublicFolder() = GetPublicFolder;
StorageFolder GetPublicFolder();
public StorageFolder GetPublicFolder();
function getPublicFolder()
Public Function GetPublicFolder () As StorageFolder

Returns

The public sub-folder.

Windows requirements

Device family
Windows 11, version 24H2 (introduced in 10.0.26100.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v19.0)

Remarks

An extension can provide a subfolder containing files that hosting apps can read from. Hosts cannot write to the folder.

Applies to

See also