IVsStringMap.RemoveValue(String) 方法

定义

删除键值对。

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

参数

szKey
String

中要删除的键/值对的键的名称。

返回

Int32

如果删除了密钥,则返回 S_OK。

适用于