RegistrationAttribute.RegistrationContext.RemoveKey Method
Removes an existing registration key.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.Immutable.10.0 (in Microsoft.VisualStudio.Shell.Immutable.10.0.dll)
Syntax
'Declaration
Public MustOverride Sub RemoveKey ( _
name As String _
)
public abstract void RemoveKey(
string name
)
public:
virtual void RemoveKey(
String^ name
) abstract
abstract RemoveKey :
name:string -> unit
public abstract function RemoveKey(
name : String
)
Parameters
name
Type: StringThe name of the key to remove.
Remarks
The key is deleted from the correct Visual Studio registry root. This method is typically called from within the Unregister method of a class derived from RegistrationAttribute.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
RegistrationAttribute.RegistrationContext Class
Microsoft.VisualStudio.Shell Namespace