Freigeben über


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
Public property ApplicationStartPage Gets or sets the application start page.
Public property ApplicationToastCapable Gets or sets the AppToastCapability.
Public property Capabilities Gets a list of all capabilities currently declared in the manifest, which may include both standard capabilities and device capabilities.
Public property OSMaxVersionTested Gets or sets the highest operating system tested, for example 6.3.
Public property OSMinVersion Gets or sets the minimum operating system supported (such as 6.3).
Public property PackageVersion Gets or sets the package version.
Public property StandardCapabilities Gets the fixed list of standard capabilities.

Top

Methods

  Name Description
Public method AddCapability Adds the specified capability to the manifest if it is not already present.
Public method GetFileOpenPickerExtension Gets the File Open Picker extension.
Public method GetSearchExtension Gets the Search extension.
Public method GetShareExtension Gets the Share extension.
Public method HasCapability Detects if the specified capability is currently declared in the manifest.
Public method 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".
Public method RemoveCapability Removes the specified capability from the manifest if it is currently present.
Public method RemoveFileOpenPickerExtension Removes the File Open Picker extension.
Public method RemoveSearchExtension Removes the Search extension.
Public method RemoveShareExtension Removes the share extension.
Public method SetFileOpenPickerExtension Sets the File Open Picker extension.
Public method SetSearchExtension Sets the Search extension.
Public method 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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace