Jazyk

StringValues.ICollection<String>.Remove(String) Metoda

Definice

Odebere první výskyt konkrétního objektu z kolekce.

 virtual bool System.Collections.Generic.ICollection<System.String>.Remove(System::String ^ item) = System::Collections::Generic::ICollection<System::String ^>::Remove;
bool ICollection<string>.Remove(string? item);
abstract member System.Collections.Generic.ICollection<System.String>.Remove : string -> bool
override this.System.Collections.Generic.ICollection<System.String>.Remove : string -> bool
Function Remove (item As String) As Boolean Implements ICollection(Of String).Remove

Parametry

item
String

Objekt, který chcete odebrat z kolekce.

Návraty

truepokud item byla úspěšně odebrána z kolekce; jinak . false Tato metoda také vrátí false , pokud item není nalezen v původní kolekci.

Implementuje

Platí pro