RegistrationAttribute.RegistrationContext.RemoveKeyIfEmpty Method

Removes the key of the specified name if it has no child key and no value.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.Immutable.10.0 (in Microsoft.VisualStudio.Shell.Immutable.10.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

声明
Public MustOverride Sub RemoveKeyIfEmpty ( _
    name As String _
)
用法
Dim instance As RegistrationAttribute..::..RegistrationContext
Dim name As String

instance.RemoveKeyIfEmpty(name)
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

.NET Framework Security

See Also

Reference

RegistrationAttribute.RegistrationContext Class

RegistrationAttribute.RegistrationContext Members

Microsoft.VisualStudio.Shell Namespace