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

Definition

Entfernt das erste Vorkommen eines bestimmten Objekts aus der Auflistung.

 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

Parameter

item
String

Das Objekt, das aus der Auflistung entfernt werden soll.

Gibt zurück

true if item was successfully removed from the collection; otherwise, false. Diese Methode gibt auch zurück false , wenn item in der ursprünglichen Auflistung nicht gefunden wird.

Implementiert

Gilt für: