SettingRule.FeatureFlag(String, Boolean) Method

Definition

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.

Applies to