GrapeCity SPREAD for Windows Forms 11.0J
OnSet メソッド (TimeSpanFieldCollectionInfo)


更新される項目の、コレクション内における0から始まるインデックスを表すInt32値。
更新前の項目を表すObjectオブジェクト。
指定したインデックスにある要素の新しい値。
System.Collections.CollectionBaseインスタンスに値を設定する前に、追加のカスタム処理を実行します。
構文
'Declaration
 
Protected Overrides Sub OnSet( _
   ByVal index As Integer, _
   ByVal oldValue As Object, _
   ByVal newValue As Object _
) 
'使用法
 
Dim instance As TimeSpanFieldCollectionInfo
Dim index As Integer
Dim oldValue As Object
Dim newValue As Object
 
instance.OnSet(index, oldValue, newValue)
protected override void OnSet( 
   int index,
   object oldValue,
   object newValue
)

パラメータ

index
更新される項目の、コレクション内における0から始まるインデックスを表すInt32値。
oldValue
更新前の項目を表すObjectオブジェクト。
newValue
指定したインデックスにある要素の新しい値。
参照

TimeSpanFieldCollectionInfo クラス
TimeSpanFieldCollectionInfo メンバ

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.