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

Définition

Détermine si le MessageProperties fichier contient un nom spécifique.

 virtual bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Contains(System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> pair) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>::Contains;
bool ICollection<KeyValuePair<string,object>>.Contains(System.Collections.Generic.KeyValuePair<string,object> pair);
abstract member System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Contains : System.Collections.Generic.KeyValuePair<string, obj> -> bool
override this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Contains : System.Collections.Generic.KeyValuePair<string, obj> -> bool
Function Contains (pair As KeyValuePair(Of String, Object)) As Boolean Implements ICollection(Of KeyValuePair(Of String, Object)).Contains

Paramètres

pair
KeyValuePair<String,Object>

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

Retours

true si le MessageProperties contient un élément portant le nom et la valeur dans le fichier spécifié pair; sinon, false.

Implémente

S’applique à