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

Definitie

Hiermee verwijdert u een sleutel en waarde uit de verzameling.

 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>

De KeyValuePair<TKey,TValue> structuur die de sleutel en waarde vertegenwoordigt die uit de verzameling moet worden verwijderd.

Retouren

true als de sleutel en waarde zijn gevonden en verwijderd; anders, false. Deze methode retourneert false als de sleutel en waarde niet worden gevonden in de ICollection<T>.

Implementeringen

Van toepassing op