WritableSettingsStore::SetBoolean Method (String^, String^, Boolean)

 

Updates the value of the specified property to the given Boolean value while setting its data type to !:SettingsType.Int32.

Namespace:   Microsoft.VisualStudio.Settings
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
virtual void SetBoolean(
	String^ collectionPath,
	String^ propertyName,
	bool value
) abstract

Parameters

collectionPath
Type: System::String^

Path of the collection of the property.

propertyName
Type: System::String^

Name of the property.

value
Type: System::Boolean

New value of the property.

Exception Condition
ArgumentException

If the collection does not exist, this exception is thrown.

If the previous data type of the property is different, it overwrites it.

If the property does not exist, it creates one.

Return to top
Show: