ExpandoObject.ICollection<KeyValuePair<String,Object>>.Remove(KeyValuePair<String,Object>) メソッド
定義
コレクションからキーと値を削除します。Removes a key and value from the collection.
virtual bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,object>>.Remove(System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> item) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>::Remove;
bool ICollection<KeyValuePair<string,object>>.Remove (System.Collections.Generic.KeyValuePair<string,object> item);
abstract member System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,object>>.Remove : System.Collections.Generic.KeyValuePair<string, obj> -> bool
override this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,object>>.Remove : System.Collections.Generic.KeyValuePair<string, obj> -> bool
Function Remove (item As KeyValuePair(Of String, Object)) As Boolean Implements ICollection(Of KeyValuePair(Of String, Object)).Remove
パラメーター
- item
- KeyValuePair<String,Object>
コレクションから削除するキーと値を表す KeyValuePair<TKey,TValue> 構造体。The KeyValuePair<TKey,TValue> structure that represents the key and value to remove from the collection.
戻り値
キーと値が見つかり、正常に削除された場合は、true
。それ以外の場合は、false
。true
if the key and value are successfully found and removed; otherwise, false
. キーと値が ICollection<T> に見つからない場合、このメソッドは false
を返します。This method returns false
if the key and value are not found in the ICollection<T>.