RegistrationAttribute::RegistrationContext::CreateKey Method (String^)

 

Creates a new registration key by name.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.10.0 (in Microsoft.VisualStudio.Shell.Immutable.10.0.dll)

public:
virtual RegistrationAttribute::Key^ CreateKey(
	String^ name
) abstract

Parameters

name
Type: System::String^

The name of the key to create.

The new RegistrationAttribute::Key object can be used to set registration information. The key is created under the correct Visual Studio registry root. This method is typically called from within the Register of a class derived from RegistrationAttribute.

Always close or dispose this key when finished with it.

Return to top
Show: