MessageQueryTable<TItem>.ContainsKey Method (MessageQuery)

.NET Framework (current version)
 

Determines whether the collection contains an element with the specified key.

Namespace:   System.ServiceModel.Dispatcher
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public bool ContainsKey(
	MessageQuery key
)

Parameters

key
Type: System.ServiceModel.Dispatcher.MessageQuery

The key to locate.

Return Value

Type: System.Boolean

Boolean

true if the collection contains an element with the key; otherwise, false.

.NET Framework
Available since 4.0
Return to top
Show: