RegistrationAttribute.RegistrationContext.RemoveKeyIfEmpty Method
Removes the key of the specified name if it has no child key and no value.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.Immutable.10.0 (in Microsoft.VisualStudio.Shell.Immutable.10.0.dll)
Syntax
'宣告
Public MustOverride Sub RemoveKeyIfEmpty ( _
name As String _
)
public abstract void RemoveKeyIfEmpty(
string name
)
Parameters
- name
Type: System.String
The name of the key to remove.
.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.