SortDescriptionCollection.InsertItem(Int32, SortDescription) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在指定的索引處插入一個項目。
protected:
override void InsertItem(int index, System::ComponentModel::SortDescription item);
protected override void InsertItem(int index, System.ComponentModel.SortDescription item);
override this.InsertItem : int * System.ComponentModel.SortDescription -> unit
Protected Overrides Sub InsertItem (index As Integer, item As SortDescription)
參數
- index
- Int32
插入 的 item 零基索引。
- item
- SortDescription
要插入的物件。
備註
基底類別在將項目加入集合時呼叫此方法。 這種實作提升了事件的水準 CollectionChanged 。
欲了解更多資訊,請參閱 InsertItem 基底類別的方法 Collection<T> 。