Aracılığıyla paylaş


MessageProperties.ICollection<KeyValuePair<String,Object>>.Contains Yöntem

Tanım

öğesinin MessageProperties belirli bir ad içerip içermediğini belirler.

 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

Parametreler

pair
KeyValuePair<String,Object>

içinde bulunacak öğenin adını ve değerini içeren bir anahtar/değer çifti MessageProperties.

Döndürülenler

trueMessageProperties öğesi belirtilen pairiçinde adı ve değeri olan bir öğe içeriyorsa; değilse, false.

Uygulamalar

Şunlara uygulanır