MessageProperties.ICollection<KeyValuePair<String,Object>>.Contains(KeyValuePair<String,Object>) Método

Definição

Determina se a MessageProperties contém um nome específico.Determines whether the MessageProperties contains a specific name.

 virtual bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,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<string,object>>.Contains : System.Collections.Generic.KeyValuePair<string, obj> -> bool
override this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,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

Parâmetros

pair
KeyValuePair<String,Object>

Um par chave/valor que contém o nome e o valor do elemento a ser localizado na MessageProperties.A key/value pair that contains the name and value of the element to locate in the MessageProperties.

Retornos

Boolean

true se o MessageProperties contém um elemento com o nome e o valor no pair especificado; caso contrário, false.true if the MessageProperties contains an element with the name and value in the specified pair; otherwise, false.

Implementações

Aplica-se a