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

Definition

Tar bort den första förekomsten av ett specifikt objekt från samlingen.

 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

Parametrar

item
String

Objektet som ska tas bort från samlingen.

Returer

trueom item har tagits bort från samlingen, annars . false Den här metoden returnerar false även om item den inte finns i den ursprungliga samlingen.

Implementeringar

Gäller för