IVsStringMap.RemoveValue(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
删除键值对。
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
中要删除的键/值对的键的名称。
返回
如果删除了密钥,则返回 S_OK。