AttributeDictionary.Remove 方法

定义

重载

Remove(KeyValuePair<String,String>)
Remove(String)

Remove(KeyValuePair<String,String>)

Source:
AttributeDictionary.cs
Source:
AttributeDictionary.cs
Source:
AttributeDictionary.cs

ICollection<T> 中移除特定对象的第一个匹配项。

public:
 virtual bool Remove(System::Collections::Generic::KeyValuePair<System::String ^, System::String ^> item);
public bool Remove (System.Collections.Generic.KeyValuePair<string,string> item);
public bool Remove (System.Collections.Generic.KeyValuePair<string,string?> item);
abstract member Remove : System.Collections.Generic.KeyValuePair<string, string> -> bool
override this.Remove : System.Collections.Generic.KeyValuePair<string, string> -> bool
Public Function Remove (item As KeyValuePair(Of String, String)) As Boolean

参数

返回

实现

适用于

Remove(String)

Source:
AttributeDictionary.cs
Source:
AttributeDictionary.cs
Source:
AttributeDictionary.cs

IDictionary<TKey,TValue> 中移除包含指定键的元素。

public:
 virtual bool Remove(System::String ^ key);
public bool Remove (string key);
abstract member Remove : string -> bool
override this.Remove : string -> bool
Public Function Remove (key As String) As Boolean

参数

key
String

返回

实现

适用于