次の方法で共有


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 (in Microsoft.VisualStudio.Shell.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
public abstract function RemoveKeyIfEmpty(
    name : String
)

Parameters

Permissions

See Also

Reference

RegistrationAttribute.RegistrationContext Class

RegistrationAttribute.RegistrationContext Members

Microsoft.VisualStudio.Shell Namespace