Method Remove
Remove(string)
Removes the first occurrence of given string from the string collection.
public virtual bool Remove(string item)
Parameters
item
stringString to remove.
Returns
- bool
True if item was successfully removed from the ICollection; otherwise, false. This method also returns false if item is not found in the original ICollection.