ActivationConstraint.SolutionHasProjectCapability(ProjectCapability) Method

Definition

Creates an activation constraint that is true when the solution has a project with the matching capability.

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

Parameters

capability
ProjectCapability

The project capability to match.

Returns

A constraint that is true when the solution has a project with the matching capability.

Applies to