共用方式為


RegistrationAttribute.RegistrationContext.RemoveValue(String, String) Method

Definition

Removes a value from a registration key.

public:
 abstract void RemoveValue(System::String ^ keyname, System::String ^ valuename);
public:
 abstract void RemoveValue(Platform::String ^ keyname, Platform::String ^ valuename);
 abstract void RemoveValue(std::wstring const & keyname, std::wstring const & valuename);
public abstract void RemoveValue (string keyname, string valuename);
abstract member RemoveValue : string * string -> unit
Public MustOverride Sub RemoveValue (keyname As String, valuename As String)

Parameters

keyname
String

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

valuename
String

The name of the value to remove.

Remarks

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

Applies to