The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
MessageProperties::ICollection<KeyValuePair<String^, Object^>>::Contains Method (KeyValuePair<String^, Object^>)
Determines whether the MessageProperties contains a specific name.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
private: virtual bool Contains( KeyValuePair<String^, Object^> pair ) sealed = ICollection<KeyValuePair<String^, Object^>>::Contains
Parameters
- pair
-
Type:
System.Collections.Generic::KeyValuePair<String^, Object^>
A key/value pair that contains the name and value of the element to locate in the MessageProperties.
Return Value
Type: System::Booleantrue if the MessageProperties contains an element with the name and value in the specified pair; otherwise, false.
Implements
ICollection<T>::Contains(T)
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: