Share via


IAppxManifestDocument.HasCapability(String) Method

Definition

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

public:
 bool HasCapability(System::String ^ capabilityId);
public:
 bool HasCapability(Platform::String ^ capabilityId);
bool HasCapability(std::wstring const & capabilityId);
public bool HasCapability (string capabilityId);
abstract member HasCapability : string -> bool
Public Function HasCapability (capabilityId As String) As Boolean

Parameters

capabilityId
String

[in] The identifier of the capability.

Returns

true if the given capability is currently declared in the manifest.

Applies to