AIFunctionArguments.ICollection<KeyValuePair<String,Object>>.Remove Метод

Определение

Удаляет первое вхождение определенного объекта из ICollection<T>.

 virtual bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Remove(System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> item) = 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?> item);
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 (item As KeyValuePair(Of String, Object)) As Boolean Implements ICollection(Of KeyValuePair(Of String, Object)).Remove

Параметры

item
KeyValuePair<String,Object>

Объект, который нужно удалить из ICollection<T>.

Возвращаемое значение

trueЗначение , itemесли ICollection<T> оно успешно удалено из ; falseв противном случае . Этот метод также возвращает false , если item не найден в исходном объекте ICollection<T>.

Реализации

Применяется к