MessageQueryTable<TItem>.Remove Metodo

Definizione

Rimuove l'occorrenza di un oggetto specifico dalla raccolta.

Overload

Remove(KeyValuePair<MessageQuery,TItem>)

Rimuove l'occorrenza dell'oggetto specificato dalla raccolta.

Remove(MessageQuery)

Rimuove l'elemento associato alla chiave specificata dalla raccolta.

Remove(KeyValuePair<MessageQuery,TItem>)

Rimuove l'occorrenza dell'oggetto specificato dalla raccolta.

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 dalla raccolta.

Restituisce

Boolean

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

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.

Restituisce

Boolean

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

Implementazioni

Si applica a