SPREAD for WPF 4.0J - GcSpreadSheet
InsertItem メソッド (SubItemCollection)

GrapeCity.Wpf.SpreadSheet.CellType アセンブリ > GrapeCity.Wpf.SpreadSheet.CellType.Editors 名前空間 > SubItemCollection クラス : InsertItem メソッド
subItemを挿入する位置の 0 から始まるインデックス。
挿入するSubItem
コレクションの指定したインデックスにSubItemを挿入します。
シンタックス
'宣言
 
Protected Overrides NotOverridable Sub InsertItem( _
   ByVal index As System.Integer, _
   ByVal subItem As SubItem _
) 
protected override void InsertItem( 
   System.int index,
   SubItem subItem
)

パラメータ

index
subItemを挿入する位置の 0 から始まるインデックス。
subItem
挿入するSubItem
例外
例外解説
自動生成されたListItemListItem.SubItemsを変更できません。
subItemがコレクションに含まれています。
subItemをnullに指定できません。
参照

SubItemCollection クラス
SubItemCollection メンバ