AppExtension 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 an application extension.
public ref class AppExtension sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppExtension final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppExtension
Public NotInheritable Class AppExtension
- Inheritance
- Attributes
Windows requirements
| Requirements | Description |
|---|---|
| Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
Properties
| Name | Description |
|---|---|
| AppInfo |
Provides information such as the app extension's name, logo, package information, and app identifier, that the host app may choose to show to the user. |
| AppUserModelId |
Gets an identifier that uniquely identifies the app. |
| Description |
Provides the description of this app extension. |
| DisplayName |
Provides the display name of this extension. |
| Id |
The extension's instance identifier. |
| Package |
Gets the package information for the app extension. |
Methods
| Name | Description |
|---|---|
| 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 subfolder provided by the |
| GetPublicFolderAsync() |
Gets the subfolder provided by the |
| GetPublicPath() |
Gets the path to the extension's isolated storage location. |