Share via


FeatureFlagOptions.Select(String, String) Method

Definition

Specify what feature flags to include in the configuration provider. Select(String, String) can be called multiple times to include multiple sets of feature flags.

public Microsoft.Extensions.Configuration.AzureAppConfiguration.FeatureManagement.FeatureFlagOptions Select (string featureFlagFilter, string labelFilter = "\0");
member this.Select : string * string -> Microsoft.Extensions.Configuration.AzureAppConfiguration.FeatureManagement.FeatureFlagOptions
Public Function Select (featureFlagFilter As String, Optional labelFilter As String = "\0") As FeatureFlagOptions

Parameters

featureFlagFilter
String

The filter to apply to feature flag names when querying Azure App Configuration for feature flags. For example, you can select all feature flags that begin with "MyApp" by setting the featureflagFilter to "MyApp*". The characters asterisk (*), comma (,) and backslash () are reserved and must be escaped using a backslash (). Built-in feature flag filter options: KeyFilter.

labelFilter
String

The label filter to apply when querying Azure App Configuration for feature flags. By default the null label will be used. Built-in label filter options: LabelFilter The characters asterisk (*) and comma (,) are not supported. Backslash () character is reserved and must be escaped using another backslash ().

Returns

Applies to