WritableSettingsStore::SetString Method (String^, String^, String^)
Visual Studio 2015
Updates the value of the specified property to the given string value while setting its data type to !:SettingsType.String.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
public: virtual void SetString( String^ collectionPath, String^ propertyName, String^ 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::String^
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.
Show: