Compartir a través de


IAppxManifestDocument 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.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
<GuidAttribute("80CAD0DE-8ECC-48FC-B81E-D11B13AB9E8A")> _
Public Interface IAppxManifestDocument
[GuidAttribute("80CAD0DE-8ECC-48FC-B81E-D11B13AB9E8A")]
public interface IAppxManifestDocument
[GuidAttribute(L"80CAD0DE-8ECC-48FC-B81E-D11B13AB9E8A")]
public interface class IAppxManifestDocument
[<GuidAttribute("80CAD0DE-8ECC-48FC-B81E-D11B13AB9E8A")>]
type IAppxManifestDocument =  interface end
public interface IAppxManifestDocument

The IAppxManifestDocument type exposes the following members.

Properties

  Name Description
Public property ApplicationStartPage
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 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