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

Definition

Tar bort elementet med det angivna namnet från 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

Parametrar

pair
KeyValuePair<String,Object>

Ett nyckel/värde-par som innehåller namnet och värdet för elementet som ska tas bort.

Returer

true MessageProperties om innehåller ett element med det angivna namnet och värdet i parametern pair och kan tas bort, falseannars .

Implementeringar

Gäller för