Called when an item is about to be set. Fires the
EventCollection.Changing event.
シンタックス
'宣言
Protected Overrides Sub OnSet( _
ByVal As System.Integer, _
ByVal As System.Object, _
ByVal As System.Object _
)
'使用法
Dim instance As EventCollection
Dim index As System.Integer
Dim oldValue As System.Object
Dim newValue As System.Object
instance.OnSet(index, oldValue, newValue)
protected override void OnSet(
System.int ,
System.object ,
System.object
)
パラメータ
- index
- The item index.
- oldValue
- The old item.
- newValue
- The new item.
参照