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

Definition

Entfernt das Element mit dem angegebenen Namen aus dem MessageProperties.

 virtual bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Remove(System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> pair) = 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> pair);
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 (pair As KeyValuePair(Of String, Object)) As Boolean Implements ICollection(Of KeyValuePair(Of String, Object)).Remove

Parameter

pair
KeyValuePair<String,Object>

Ein Schlüssel-Wert-Paar, das den Namen und den Wert des zu entfernenden Elements enthält.

Gibt zurück

truewenn das MessageProperties Element ein Element mit dem angegebenen Namen und Wert im pair Parameter enthält und entfernt werden kann; andernfalls . false

Implementiert

Gilt für: