Lingua

MessageQueryTable<TItem>.Remove Metodo

Definizione

Rimuove l'occorrenza di un oggetto specifico dall'insieme.

Overload

Nome Descrizione
Remove(KeyValuePair<MessageQuery,TItem>)

Rimuove la prima occorrenza dell'oggetto specificato dall'insieme.

Remove(MessageQuery)

Rimuove l'elemento associato alla chiave specificata dalla raccolta.

Remove(KeyValuePair<MessageQuery,TItem>)

Rimuove la prima occorrenza dell'oggetto specificato dall'insieme.

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

Parametri

item
KeyValuePair<MessageQuery,TItem>

Oggetto KeyValuePair<TKey,TValue> da rimuovere dall'insieme.

Valori restituiti

Boolean true se l'elemento è stato rimosso correttamente dalla raccolta; in caso contrario, false. Questo metodo restituisce false anche se l'elemento non viene trovato nell'insieme.

Implementazioni

Si applica a

Remove(MessageQuery)

Rimuove l'elemento associato alla chiave specificata dalla raccolta.

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

Parametri

key
MessageQuery

Chiave dell'elemento da rimuovere.

Valori restituiti

Boolean true se l'elemento è stato trovato e rimosso; false se l'elemento non è stato trovato.

Implementazioni

Si applica a