BindingList<T>.RemoveItem(Int32) 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 item at the specified index.
protected:
override void RemoveItem(int index);
protected override void RemoveItem (int index);
override this.RemoveItem : int -> unit
Protected Overrides Sub RemoveItem (index As Integer)
Parameters
- index
- Int32
The zero-based index of the item to remove.
Exceptions
You are removing a newly added item and AllowRemove is set to false
.
Remarks
This method raises the ListChanged event of type ItemDeleted.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.