PowerTools CalendarGrid for Windows Forms 1.0J
SetItem メソッド (ItemTemplateCollection)

置き換える ItemTemplate の 0 から始まるインデックス。
指定したインデックスにある ItemTemplate の新しい値。
指定したインデックスにある ItemTemplate を置き換えます。
構文
Protected Overrides Sub SetItem( _
   ByVal index As Integer, _
   ByVal item As ItemTemplate _
) 
protected override void SetItem( 
   int index,
   ItemTemplate item
)

パラメータ

index
置き換える ItemTemplate の 0 から始まるインデックス。
item
指定したインデックスにある ItemTemplate の新しい値。
例外
例外解説
System.ArgumentOutOfRangeExceptionindex0 未満か、項目の数以上です。
System.ArgumentNullExceptionitem が null 参照 (Visual Basicでは Nothing) です。
System.ArgumentExceptionitem はすでに別の ItemTemplateCollection に追加されています。
参照

ItemTemplateCollection クラス
ItemTemplateCollection メンバ

 

 


© 2014 GrapeCity inc. All rights reserved.