ActivationConstraint.ActiveProjectCapability(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 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.