MessageQueryTable<TItem>.Remove Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the occurrence of a specific object from the collection.
Overloads
Remove(KeyValuePair<MessageQuery,TItem>) |
Removes the first occurrence of the specified object from the collection. |
Remove(MessageQuery) |
Removes the item associated with the specified key from the collection. |
Remove(KeyValuePair<MessageQuery,TItem>)
Removes the first occurrence of the specified object from the collection.
public:
virtual bool Remove(System::Collections::Generic::KeyValuePair<System::ServiceModel::Dispatcher::MessageQuery ^, TItem> item);
public bool Remove (System.Collections.Generic.KeyValuePair<System.ServiceModel.Dispatcher.MessageQuery,TItem> item);
abstract member Remove : System.Collections.Generic.KeyValuePair<System.ServiceModel.Dispatcher.MessageQuery, 'Item> -> bool
override this.Remove : System.Collections.Generic.KeyValuePair<System.ServiceModel.Dispatcher.MessageQuery, 'Item> -> bool
Public Function Remove (item As KeyValuePair(Of MessageQuery, TItem)) As Boolean
Parameters
- item
- KeyValuePair<MessageQuery,TItem>
The KeyValuePair<TKey,TValue> object to remove from the collection.
Returns
Boolean
true
if the item was successfully removed from the collection; otherwise, false
. This method also returns false
if the item is not found in the collection.
Implements
Applies to
Remove(MessageQuery)
Removes the item associated with the specified key from the collection.
public:
virtual bool Remove(System::ServiceModel::Dispatcher::MessageQuery ^ key);
public bool Remove (System.ServiceModel.Dispatcher.MessageQuery key);
abstract member Remove : System.ServiceModel.Dispatcher.MessageQuery -> bool
override this.Remove : System.ServiceModel.Dispatcher.MessageQuery -> bool
Public Function Remove (key As MessageQuery) As Boolean
Parameters
- key
- MessageQuery
The key of the element to remove.
Returns
Boolean
true
if the item was found and removed; false
if the item was not found.
Implements
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기