PackageExtension Class
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.
Provides information about a packaged extension.
public ref class PackageExtension sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 1114112)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PackageExtension final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 1114112)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PackageExtension
Public NotInheritable Class PackageExtension
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 11, version 24H2 (introduced in 10.0.26100.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v19.0)
|
Properties
Description |
Provides the description of the packaged extension. |
DisplayName |
Provides the display name of the packaged extension. |
Id |
The extension's instance identifier. |
Package |
Gets the package information for the packaged extension. |
Methods
GetExtensionProperties() |
Used by the extension to specify any extra information that the hosting app can query. |
GetExtensionPropertiesAsync() |
Used by the extension to specify any extra information that the hosting app can query. |
GetPublicFolder() |
Gets the readable subfolder in the extension's isolated storage. |
GetPublicFolderAsync() |
Gets the readable subfolder in the extension's isolated storage. |
GetPublicPath() |
Gets the path to the extension's isolated storage location. |