共用方式為


IVsStringMap.RemoveValue(String) Method

Definition

Deletes a key-value pair.

public:
 int RemoveValue(System::String ^ szKey);
public:
 int RemoveValue(Platform::String ^ szKey);
int RemoveValue(std::wstring const & szKey);
public int RemoveValue (string szKey);
abstract member RemoveValue : string -> int
Public Function RemoveValue (szKey As String) As Integer

Parameters

szKey
String

[in] The name of the key for the key-value pair to delete.

Returns

Returns S_OK if the key was deleted.

Applies to