MessageProperties.ICollection<KeyValuePair<String,Object>>.Remove Méthode

Définition

Supprime l’élément portant le nom spécifié du 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

Paramètres

pair
KeyValuePair<String,Object>

Paire clé/valeur qui contient le nom et la valeur de l’élément à supprimer.

Retours

true si le MessageProperties contient un élément portant le nom et la valeur spécifiés dans le pair paramètre et peut être supprimé ; sinon, false.

Implémente

S’applique à