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

Definicja

Usuwa pierwsze wystąpienie konkretnego obiektu z kolekcji.

 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

Obiekt do usunięcia z kolekcji.

Zwraca

true jeśli item została pomyślnie usunięta z kolekcji; w przeciwnym razie false. Ta metoda zwraca również wartość false , jeśli item nie zostanie znaleziona w oryginalnej kolekcji.

Implementuje

Dotyczy