SettingRule.FeatureFlag(String, Boolean) 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 a SettingRule that is satisfied when the Visual Studio feature flag
featureFlagId
value is value
.
public static Microsoft.VisualStudio.Extensibility.Settings.SettingRule FeatureFlag (string featureFlagId, bool value);
static member FeatureFlag : string * bool -> Microsoft.VisualStudio.Extensibility.Settings.SettingRule
Public Shared Function FeatureFlag (featureFlagId As String, value As Boolean) As SettingRule
Parameters
- featureFlagId
- String
The identifier of the Visual Studio feature flag.
- value
- Boolean
The value of the feature flag that satisfies this rule.
Returns
A SettingRule instance.