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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.