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

Definice

Odebere první výskyt určité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);
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ý bude odebrán z kolekce.

Návraty

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

Implementuje

Platí pro