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

項目を挿入する位置の 0 から始まるインデックス。
挿入する CalendarNavigationButton。参照型の場合、null の値を使用できます。
CalendarNavigationButtonCollection の指定したインデックスに要素を挿入します。
構文
Protected Overrides Sub InsertItem( _
   ByVal index As Integer, _
   ByVal item As CalendarNavigationButton _
) 
protected override void InsertItem( 
   int index,
   CalendarNavigationButton item
)

パラメータ

index
項目を挿入する位置の 0 から始まるインデックス。
item
挿入する CalendarNavigationButton。参照型の場合、null の値を使用できます。
例外
例外解説
System.ArgumentOutOfRangeExceptionインデックスが 0 未満です。または、インデックスが Count を超えています。
参照

CalendarNavigationButtonCollection クラス
CalendarNavigationButtonCollection メンバ

 

 


© 2014 GrapeCity inc. All rights reserved.