Partager via


ActivationConstraint.FeatureFlag(String) Method

Definition

Creates an activation constraint that is true when the provided feature flag is enabled.

public static Microsoft.VisualStudio.Extensibility.ActivationConstraint FeatureFlag (string featureName);
static member FeatureFlag : string -> Microsoft.VisualStudio.Extensibility.ActivationConstraint
Public Shared Function FeatureFlag (featureName As String) As ActivationConstraint

Parameters

featureName
String

Feature flag identifier.

Returns

A constraint that is true when the provided Visual Studio feature flag is enabled.

Remarks

This term is intended for internal use, as a result there is no known list of feature flags.

Applies to