ActivationConstraint.SolutionHasProjectCapability(ProjectCapability) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.