Share via


ActivationConstraint.ActiveProjectCapability(ProjectCapability) Method

Definition

Creates an activation constraint that is true when the selected project capability matches capability.

public static Microsoft.VisualStudio.Extensibility.ActivationConstraint ActiveProjectCapability (Microsoft.VisualStudio.Extensibility.ProjectCapability capability);
static member ActiveProjectCapability : Microsoft.VisualStudio.Extensibility.ProjectCapability -> Microsoft.VisualStudio.Extensibility.ActivationConstraint
Public Shared Function ActiveProjectCapability (capability As ProjectCapability) As ActivationConstraint

Parameters

capability
ProjectCapability

The project capability to match.

Returns

A constraint that is true when the selected project has specified capability.

Applies to