Sdílet prostřednictvím


IAppxManifestDocument.AddCapability(String) Method

Definition

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

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

Parameters

capabilityId
String

[in] The capability to add to the manifest.

Applies to