Source. Remove(Object) Method
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 specified item from the list.
public: virtual void Remove(System::Object ^ value);
public virtual void Remove (object value);
abstract member Remove : obj -> unit override this.Remove : obj -> unit
Public Overridable Sub Remove (value As Object)
The underlying list has a fixed size or is read-only.
The Remove method causes the list to be searched for the
value parameter. If found, this method will attempt to remove the item from the List. This attempt will fail if the list has a fixed size or is read-only. These two conditions can be tested with the IsFixedSize and IsReadOnly properties, respectively.
This method raises the ListChanged event.