MessageQueryTable<TItem>.Remove Method (MessageQuery)

.NET Framework (current version)
 

Removes the item associated with the specified key from the collection.

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

public bool Remove(
	MessageQuery key
)

Parameters

key
Type: System.ServiceModel.Dispatcher.MessageQuery

The key of the element to remove.

Return Value

Type: System.Boolean

Boolean

true if the item was found and removed; false if the item was not found.

.NET Framework
Available since 4.0
Return to top
Show: