MessageProperties.System.Collections.Generic.ICollection<KeyValuePair<String,Object>>.Contains Method
Namespace: System.ServiceModel.Channels
Assembly: System.ServiceModel (in system.servicemodel.dll)
Syntax
'Declaration
Private Function System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Contains ( _
pair As KeyValuePair(Of String, Object) _
) As Boolean Implements ICollection(Of KeyValuePair(Of String, Object)).Contains
'Usage
Dim instance As MessageProperties
Dim pair As KeyValuePair(Of String, Object)
Dim returnValue As Boolean
returnValue = CType(instance, ICollection(Of KeyValuePair(Of String, Object))).Contains(pair)
bool ICollection<KeyValuePair<string,Object>>.Contains (
KeyValuePair<string,Object> pair
)
private:
virtual bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Contains (
KeyValuePair<String^, Object^> pair
) sealed = ICollection<KeyValuePair<String^, Object^>>::Contains
Parameters
- pair
See Also
Reference
MessageProperties Class
MessageProperties Members
System.ServiceModel.Channels Namespace
.gif)