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

'Declaration
Public MustOverride Sub RemoveKeyIfEmpty ( _
    name As String _
)
public abstract void RemoveKeyIfEmpty(
    string name
)
public:
virtual void RemoveKeyIfEmpty(
    String^ name
) abstract
abstract RemoveKeyIfEmpty : 
        name:string -> unit
public abstract function RemoveKeyIfEmpty(
    name : String
)

Parameters

  • name
    Type: String

    The name of the key to remove.

.NET Framework Security

See Also

Reference

RegistrationAttribute.RegistrationContext Class

Microsoft.VisualStudio.Shell Namespace