Compartir a través de


RegistrationAttribute.RegistrationContext.RemoveValue Method

Removes a value from a registration key.

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

Syntax

'Declaration
Public MustOverride Sub RemoveValue ( _
    keyname As String, _
    valuename As String _
)
public abstract void RemoveValue(
    string keyname,
    string valuename
)
public:
virtual void RemoveValue(
    String^ keyname, 
    String^ valuename
) abstract
abstract RemoveValue : 
        keyname:string * 
        valuename:string -> unit
public abstract function RemoveValue(
    keyname : String, 
    valuename : String
)

Parameters

  • keyname
    Type: String

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

  • valuename
    Type: String

    The name of the value to remove.

Remarks

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

.NET Framework Security

See Also

Reference

RegistrationAttribute.RegistrationContext Class

Microsoft.VisualStudio.Shell Namespace

Unregister

RegistrationAttribute

RegistrationAttribute.RegistrationContext