ViewDataDictionary.Remove メソッド

定義

オーバーロード

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

Remove(KeyValuePair<String,Object>)

特定のオブジェクトが ICollection<T> 内にあるときに、最初に出現したものを削除します。

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

パラメーター

戻り値

実装

適用対象

Remove(String)

指定したキーを持つ要素を 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

戻り値

実装

適用対象