共用方式為


IAppxManifestDocument.RemoveCapability(String) Method

Definition

Removes the specified capability from the manifest if it is currently present.

public:
 void RemoveCapability(System::String ^ capabilityId);
public:
 void RemoveCapability(Platform::String ^ capabilityId);
void RemoveCapability(std::wstring const & capabilityId);
public void RemoveCapability (string capabilityId);
abstract member RemoveCapability : string -> unit
Public Sub RemoveCapability (capabilityId As String)

Parameters

capabilityId
String

[in] The identifier of the capability to be removed.

Applies to