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)

public interface IAppxManifestDocument

The IAppxManifestDocument type exposes the following members.

Public propertyApplicationStartPage
Public propertyCapabilitiesGets a list of all capabilities currently declared in the manifest, which may include both standard capabilities and device capabilities.
Public propertyStandardCapabilitiesGets the fixed list of standard capabilities.

Public methodAddCapabilityAdds the specified capability to the manifest if it is not already present.
Public methodGetFileOpenPickerExtensionGets the File Open Picker extension.
Public methodGetSearchExtensionGets the Search extension.
Public methodGetShareExtensionGets the Share extension.
Public methodHasCapabilityDetects if the specified capability is currently declared in the manifest.
Public methodMapCapabilitySidProduces 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 methodRemoveCapabilityRemoves the specified capability from the manifest if it is currently present.
Public methodRemoveFileOpenPickerExtensionRemoves the File Open Picker extension.
Public methodRemoveSearchExtensionRemoves the Search extension.
Public methodRemoveShareExtensionRemoves the share extension.
Public methodSetFileOpenPickerExtensionSets the File Open Picker extension.
Public methodSetSearchExtensionSets the Search extension.
Public methodSetShareExtensionSets the Share extension.

OpenAppxManifestDocument can be used to programmatically (invisibly) open a project's app manifest and return an object implementing this interface.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft