Szerkesztés

Megosztás a következőn keresztül:


ExpandoObject.ICollection<KeyValuePair<String,Object>>.Remove Method

Definition

Removes a key and value from the collection.

 virtual bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.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<System.String,System.Object>>.Remove : System.Collections.Generic.KeyValuePair<string, obj> -> bool
override this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.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

Parameters

item
KeyValuePair<String,Object>

The KeyValuePair<TKey,TValue> structure that represents the key and value to remove from the collection.

Returns

true if the key and value are successfully found and removed; otherwise, false. This method returns false if the key and value are not found in the ICollection<T>.

Implements

Applies to