WritableSettingsStore::SetInt32 Method (String^, String^, Int32)

 

Updates the value of the specified property to the given integer 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 SetInt32(
	String^ collectionPath,
	String^ propertyName,
	int 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::Int32

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: