ActivationConstraint.ActiveProjectFlavor(Guid) 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.
Caution
ActiveProjectCapability should be preferred due to better future compatibility.
Creates an activation constraint that is true
when the selected project has a flavor matching flavor
.
[System.Obsolete("ActiveProjectCapability should be preferred due to better future compatibility.")]
public static Microsoft.VisualStudio.Extensibility.ActivationConstraint ActiveProjectFlavor (Guid flavor);
[<System.Obsolete("ActiveProjectCapability should be preferred due to better future compatibility.")>]
static member ActiveProjectFlavor : Guid -> Microsoft.VisualStudio.Extensibility.ActivationConstraint
Public Shared Function ActiveProjectFlavor (flavor As Guid) As ActivationConstraint
Parameters
- flavor
- Guid
The project flavor GUID.
Returns
A constraint that is true
when the selected project flavor matches with specified flavor.
- Attributes
Remarks
This method is deprecated, use ActiveProjectCapability(ProjectCapability) instead.