IAppxManifestDocument2 Interface
Provides an object model for the app manifest of the current project. It is implemented by the DocData object of the app manifest designer.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)
Syntax
'Declaration
<GuidAttribute("B28888A0-8855-4083-B4D6-A91BDFD452EE")> _
Public Interface IAppxManifestDocument2 _
Inherits IAppxManifestDocument
[GuidAttribute("B28888A0-8855-4083-B4D6-A91BDFD452EE")]
public interface IAppxManifestDocument2 : IAppxManifestDocument
[GuidAttribute(L"B28888A0-8855-4083-B4D6-A91BDFD452EE")]
public interface class IAppxManifestDocument2 : IAppxManifestDocument
[<GuidAttribute("B28888A0-8855-4083-B4D6-A91BDFD452EE")>]
type IAppxManifestDocument2 =
interface
interface IAppxManifestDocument
end
public interface IAppxManifestDocument2 extends IAppxManifestDocument
The IAppxManifestDocument2 type exposes the following members.
Properties
Name | Description | |
---|---|---|
ApplicationStartPage | Gets or sets the application start page. | |
ApplicationToastCapable | Gets or sets the AppToastCapability. | |
Capabilities | Gets a list of all capabilities currently declared in the manifest, which may include both standard capabilities and device capabilities. | |
OSMaxVersionTested | Gets or sets the highest operating system tested, for example 6.3. | |
OSMinVersion | Gets or sets the minimum operating system supported (such as 6.3). | |
PackageVersion | Gets or sets the package version. | |
StandardCapabilities | Gets the fixed list of standard capabilities. |
Top
Methods
Name | Description | |
---|---|---|
AddCapability | Adds the specified capability to the manifest if it is not already present. | |
GetFileOpenPickerExtension | Gets the File Open Picker extension. | |
GetSearchExtension | Gets the Search extension. | |
GetShareExtension | Gets the Share extension. | |
HasCapability | Detects if the specified capability is currently declared in the manifest. | |
MapCapabilitySid | Produces a capability identifier and a localized name from the specified capability security identifier (SID), such as "S-1-15-3-1" or "S-1-15-3-BFA794E4-F964-4FDB-90F6-51056BFE4B44". | |
RemoveCapability | Removes the specified capability from the manifest if it is currently present. | |
RemoveFileOpenPickerExtension | Removes the File Open Picker extension. | |
RemoveSearchExtension | Removes the Search extension. | |
RemoveShareExtension | Removes the share extension. | |
SetFileOpenPickerExtension | Sets the File Open Picker extension. | |
SetSearchExtension | Sets the Search extension. | |
SetShareExtension | Sets the Share extension. |
Top
Remarks
OpenAppxManifestDocument can be used to programmatically (invisibly) open a project's app manifest and return an object implementing this interface.