次の方法で共有


RegistrationAttribute.RegistrationContext.RemoveValue Method

Removes a value from a registration key.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'宣言
Public MustOverride Sub RemoveValue ( _
    keyname As String, _
    valuename As String _
)
'使用
Dim instance As RegistrationAttribute..::.RegistrationContext
Dim keyname As String
Dim valuename As String

instance.RemoveValue(keyname, valuename)
public abstract void RemoveValue(
    string keyname,
    string valuename
)
public:
virtual void RemoveValue(
    String^ keyname, 
    String^ valuename
) abstract
public abstract function RemoveValue(
    keyname : String, 
    valuename : String
)

Parameters

  • keyname
    Type: System.String

    The name of the key that contains the value to be removed.

Remarks

This method is typically called from within the Unregister of a class derived from RegistrationAttribute

Permissions

See Also

Reference

RegistrationAttribute.RegistrationContext Class

RegistrationAttribute.RegistrationContext Members

Microsoft.VisualStudio.Shell Namespace

Unregister

RegistrationAttribute

RegistrationAttribute.RegistrationContext