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)
'宣言
Public MustOverride Sub RemoveKeyIfEmpty ( _
name As String _
)
public abstract void RemoveKeyIfEmpty(
string name
)
- name
Type: System.String
The name of the key to remove.
- 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.