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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.