StringValues.ICollection<String>.Remove(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the first occurrence of a specific object from the collection.
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
Parameters
- item
- String
The object to remove from the collection.
Returns
true
if item
was successfully removed from the collection; otherwise, false
. This method also returns false
if item
is not found in the original collection.
Implements
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage (pull requests). Pour plus d’informations, consultez notre guide du contributeur.