共用方式為


IAppxManifestDocument Interface

Definition

Provides an object model for the app manifest of the current project. It is implemented by the DocData object of the app manifest designer.

public interface class IAppxManifestDocument
public interface class IAppxManifestDocument
__interface IAppxManifestDocument
[System.Runtime.InteropServices.Guid("80CAD0DE-8ECC-48FC-B81E-D11B13AB9E8A")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable)]
public interface IAppxManifestDocument
[System.Runtime.InteropServices.Guid("80CAD0DE-8ECC-48FC-B81E-D11B13AB9E8A")]
public interface IAppxManifestDocument
[<System.Runtime.InteropServices.Guid("80CAD0DE-8ECC-48FC-B81E-D11B13AB9E8A")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable)>]
type IAppxManifestDocument = interface
[<System.Runtime.InteropServices.Guid("80CAD0DE-8ECC-48FC-B81E-D11B13AB9E8A")>]
type IAppxManifestDocument = interface
Public Interface IAppxManifestDocument
Derived
Attributes

Remarks

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

Properties

ApplicationStartPage
Capabilities

Gets a list of all capabilities currently declared in the manifest, which may include both standard capabilities and device capabilities.

StandardCapabilities

Gets the fixed list of standard capabilities.

Methods

AddCapability(String)

Adds the specified capability to the manifest if it is not already present.

GetFileOpenPickerExtension(String, String, String, String, IAppxFileOpenPickerExtension)

Gets the File Open Picker extension.

GetSearchExtension(String, String, String, String)

Gets the Search extension.

GetShareExtension(String, String, String, String, IAppxShareExtension)

Gets the Share extension.

HasCapability(String)

Detects if the specified capability is currently declared in the manifest.

MapCapabilitySid(String, String, String)

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(String)

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(String, String, String, String)

Sets the File Open Picker extension.

SetSearchExtension(String, String, String, String)

Sets the Search extension.

SetShareExtension(String, String, String, String)

Sets the Share extension.

Applies to