IFeatureFlags Interface

Visual Studio 2015
 

A service that can be used to determine whether a feature should be enabled or disabled. It can also be used to enumerate the current state of feature flags. This service is free-threaded.

Namespace:   Microsoft.VisualStudio.FeatureFlags
Assembly:  Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)

public interface class IFeatureFlags

NameDescription
System_CAPS_pubmethodGetFlags()

Gets all the feature flags for this user/appid combination. The values of the flags returned are the currently set values and may differ from the defaults. This will return only the set of registered flags.

System_CAPS_pubmethodIsFeatureEnabled(String^, Boolean)

Determines whether a feature is enabled. If the flag cannot be located, or if there is an error processing the request the default value is returned.

Return to top
Show: