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
'宣言
Public MustOverride Sub RemoveKey ( _
name As String _
)
public abstract void RemoveKey(
string name
)
Parameters
- name
Type: System.String
The 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