Sdílet prostřednictvím


OrderedDictionary<TKey,TValue>.ValueCollection.ICollection<TValue>.Remove Metoda

Definice

Odebere první výskyt konkrétního objektu z ICollection<T>.

 virtual bool System.Collections.Generic.ICollection<TValue>.Remove(TValue item) = System::Collections::Generic::ICollection<TValue>::Remove;
bool ICollection<TValue>.Remove (TValue item);
abstract member System.Collections.Generic.ICollection<TValue>.Remove : 'Value -> bool
override this.System.Collections.Generic.ICollection<TValue>.Remove : 'Value -> bool
Function Remove (item As TValue) As Boolean Implements ICollection(Of TValue).Remove

Parametry

item
TValue

Objekt, který chcete odebrat z ICollection<T>.

Návraty

true, pokud item úspěšně odebral z ICollection<T>; jinak false. Tato metoda také vrátí false pokud item nebyl nalezen v původním ICollection<T>.

Implementuje

Platí pro