GrapeCity CalendarGrid for Windows Forms 2.0J
InsertItem メソッド (SubItemCollection)

項目を挿入する位置の 0 から始まるインデックス。
挿入する SubItem
SubItemCollection の指定したインデックスに SubItem を挿入します。
構文
Protected Overrides Sub InsertItem( _
   ByVal index As Integer, _
   ByVal item As SubItem _
) 
protected override void InsertItem( 
   int index,
   SubItem item
)

パラメータ

index
項目を挿入する位置の 0 から始まるインデックス。
item
挿入する SubItem
例外
例外解説
System.ArgumentNullExceptionitem が null 参照 (Visual Basicでは Nothing) です。
System.ArgumentExceptionitem はすでに別の SubItemCollection に追加されています。
System.ArgumentOutOfRangeExceptionindex0 未満か、項目の数以上です。
参照

SubItemCollection クラス
SubItemCollection メンバ

 

 


c 2008 GrapeCity inc. All rights reserved.