IWritableFeatureFlagsStore.SetBool(String, String, Boolean) Method

Definition

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.

public:
 void SetBool(System::String ^ collectionPath, System::String ^ name, bool enabled);
public:
 void SetBool(Platform::String ^ collectionPath, Platform::String ^ name, bool enabled);
void SetBool(std::wstring const & collectionPath, std::wstring const & name, bool enabled);
public void SetBool(string collectionPath, string name, bool enabled);
abstract member SetBool : string * string * bool -> unit
Public Sub SetBool (collectionPath As String, name As String, enabled As Boolean)

Parameters

collectionPath
String

The full path, separated by back-slash characters to the collection/subcollection to be written to

name
String

The name of the property to be written or created

enabled
Boolean

The value to set the new/updated property to

Applies to