共用方式為


AttributeDictionary.Remove 方法

定義

多載

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

Remove(KeyValuePair<String,String>)

來源:
AttributeDictionary.cs
來源:
AttributeDictionary.cs
來源:
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)

來源:
AttributeDictionary.cs
來源:
AttributeDictionary.cs
來源:
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

傳回

實作

適用於