MessageQueryTable<TItem>.Remove Método
Definição
Remove a ocorrência de um objeto específico da coleção.Removes the occurrence of a specific object from the collection.
Sobrecargas
| Remove(KeyValuePair<MessageQuery,TItem>) |
Remove a primeira ocorrência do objeto especificado da coleção.Removes the first occurrence of the specified object from the collection. |
| Remove(MessageQuery) |
Remove o item associado com a chave especificada da coleção.Removes the item associated with the specified key from the collection. |
Remove(KeyValuePair<MessageQuery,TItem>)
Remove a primeira ocorrência do objeto especificado da coleção.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
Parâmetros
- item
- KeyValuePair<MessageQuery,TItem>
O objeto KeyValuePair<TKey,TValue> a ser removido da coleção.The KeyValuePair<TKey,TValue> object to remove from the collection.
Retornos
Boolean
true se o item tiver sido removido com êxito da coleção, caso contrário, false.Boolean
true if the item was successfully removed from the collection; otherwise, false. Esse método também retornará false se o item não for encontrado na coleção.This method also returns false if the item is not found in the collection.
Implementações
Aplica-se a
Remove(MessageQuery)
Remove o item associado com a chave especificada da coleção.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
Parâmetros
- key
- MessageQuery
A chave do elemento a ser removido.The key of the element to remove.
Retornos
Boolean
true se o item tiver sido encontrado e removido, false se o item não tiver sido encontrado.Boolean
true if the item was found and removed; false if the item was not found.