RegistrationAttribute::Key::SetValue Method (String^, Object^)
Visual Studio 2015
Sets the name to the given value.
Assembly: Microsoft.VisualStudio.Shell.Immutable.10.0 (in Microsoft.VisualStudio.Shell.Immutable.10.0.dll)
Parameters
- valueName
-
Type:
System::String^
The name of the value to set. If valueName is null or an empty string, SetValue sets the default value for the current Key.
- value
-
Type:
System::Object^
An object to store in the value. Use an empty string or null to set the default value for a key. If the object is a numeric type that can be converted to an integer, it is stored as a DWORD registry encoding. Otherwise it is stored as a string.
This method is typically called from within the Register method of a class derived from RegistrationAttribute.
Show: