IFeatureFlagsStore Interface

Visual Studio 2015
 

An abstraction of the repository for feature flags. The collection semantics are modeled after IVsSettingsStore, and have the following characteristics:

Collections can contain properties and sub collections.

Sub collection paths are described with strings like file system directory paths. The path contains names of all the parent collections.

Similarly, the separator used between the names of the parent collections is the \ (back-slash) character. An example of a sub collection path is: Root Collection\Internal Collection\Leaf Collection.

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

public interface class IFeatureFlagsStore

NameDescription
System_CAPS_pubmethodGetBoolValue(String^, String^)

Gets a boolean value stored under the collectionPath with the given name. If the collectionPath or the name does not exist, then null is returned.

System_CAPS_pubmethodGetSubCollections(String^)

Gets all subcollections directly under the collectionPath; in other words, returns the children but not the grandchildren of collectionPath. Calling this method with a collectionPath of Root Collection against a collection that contains Root Collection\Internal Collection\Leaf Collection returns Internal Collection.

Return to top
Show: