BindingSource.Remove(Object) 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 specified item from the list.
public:
virtual void Remove(System::Object ^ value);
public virtual void Remove (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)
Parameters
Implements
Exceptions
The underlying list has a fixed size or is read-only.
Remarks
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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om