PowerTools CalendarGrid for Windows Forms 1.0J
InsertItem メソッド (CharBoxCollection)

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

パラメータ

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

CharBoxCollection クラス
CharBoxCollection メンバ

 

 


© 2014 GrapeCity inc. All rights reserved.