IWritableFeatureFlagsStore Interface

Definition

An abstraction of a writable repository for feature flags. The collection semantics are modeled after IVsSettingsStore and as such:

Collections can contain properties and sub collections. Sub collection paths are described with the strings like the directory paths of file systems. Path contains names of all the parent collections. Similarly, separator used between the names of the parent collections is '' (back-slash) character. Example of a sub collection path would be: "Root Collection\Internal Collection\Leaf Collection".

public interface class IWritableFeatureFlagsStore : Microsoft::VisualStudio::FeatureFlags::IFeatureFlagsStore
public interface class IWritableFeatureFlagsStore : Microsoft::VisualStudio::FeatureFlags::IFeatureFlagsStore
__interface IWritableFeatureFlagsStore : Microsoft::VisualStudio::FeatureFlags::IFeatureFlagsStore
public interface IWritableFeatureFlagsStore : Microsoft.VisualStudio.FeatureFlags.IFeatureFlagsStore
type IWritableFeatureFlagsStore = interface
    interface IFeatureFlagsStore
Public Interface IWritableFeatureFlagsStore
Implements IFeatureFlagsStore
Implements

Methods

DeleteProperty(String, String)

Deletes the given property from the collection. Succeeds silently if the property doesn't exist.

GetBoolValue(String, String)

Retrieves a boolean value stored under the collectionPath with the dictated name. If the collectionPath or name doesn't exist, then null is returned.

(Inherited from IFeatureFlagsStore)
GetString(String, String)

Retrieves a string value stored under the collectionPath with the dictated name. If the collectionPath or name doesn't exist, then null is returned.

(Inherited from IFeatureFlagsStore)
GetSubCollections(String)

Retrieves all subcollections under the collectionPath. These are 'primitive' subCollections in that it is only the next level of subcollections. For example a query of GetSubCollections with collectionPath 'Root Collection' against a collection that contained "Root Collection\Internal Collection\Leaf Collection", would return 'Internal Collection'.

(Inherited from IFeatureFlagsStore)
SetBool(String, String, Boolean)

Updates the value of the property to the given bool value. If the previous data type of the property was something else this method overwrites it. If the property doesn't exist, it will create one. If the colleciton doesn't exist, it will be created.

Applies to