FeatureFlag Struct

Definition

A structure that represents a feature flag which consists of a name and the enabled state

public value class FeatureFlag
struct FeatureFlag
public struct FeatureFlag
type FeatureFlag = struct
Public Structure FeatureFlag
Inheritance
FeatureFlag

Constructors

FeatureFlag(String, Boolean)

Initializes an instance of FeatureFlag with the given name and state. FeatureFlag objects are immutable.

FeatureFlag(String, Boolean, String, String, String, String, String, String, String)

Construct a FeatureFlag with all the properties to display it on the Preview Features Pane as well.

FeatureFlag(String, Boolean, String, String, String, String, String, String, String, String, String)

Construct a FeatureFlag with all the properties to display it on the Preview Features Pane as well.

Properties

Description

A description about the feature flag

FeedbackUrl

A URL for the Preview Pane for the users to provide feedback on the feature

IsEnabled

A Boolean value indicating whether the feature should be enabled

LearnMoreUrl

A URL to more information about the feature flag to be displayed on the preview pane.

Name

A string of the form ^(\w+.)+\w+$, following a pattern of [AreaPath].[Name]

OverrideDefaultValueChannels

A comma separated list of channels where the default value will be overriden.

PackageGuid

A string specifying the package guid to lookup localized strings

PreviewPaneChannels

A comma separated list of channels which will control the visibility of the feature flag on the preview pane.

RequiredAction

A string indicating the required action necessary to apply the feature when the user checks the feature flag on the preview pane. This will be appended with the string "requires" and displayed with the title on the preview pane.

Title

A string value which will be displayed on the preview pane.

VisibleToInternalUsersOnlyChannels

A comma separated list of channels where the feature will be visible on the preview pane to internal users only.

Applies to