Język

MessageProperties.ICollection<KeyValuePair<String,Object>>.Remove Metoda

Definicja

Usuwa element o określonej nazwie z MessageProperties.

 virtual bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Remove(System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> pair) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>::Remove;
bool ICollection<KeyValuePair<string,object>>.Remove(System.Collections.Generic.KeyValuePair<string,object> pair);
abstract member System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Remove : System.Collections.Generic.KeyValuePair<string, obj> -> bool
override this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Remove : System.Collections.Generic.KeyValuePair<string, obj> -> bool
Function Remove (pair As KeyValuePair(Of String, Object)) As Boolean Implements ICollection(Of KeyValuePair(Of String, Object)).Remove

Parametry

pair
KeyValuePair<String,Object>

Para klucz/wartość zawierająca nazwę i wartość elementu do usunięcia.

Zwraca

true MessageProperties jeśli element zawiera element o określonej nazwie i wartości w parametrze pair i można go usunąć; w przeciwnym razie false.

Implementuje

Dotyczy