共用方式為


DesignerActionListCollection.OnSet(Int32, Object, Object) 方法

定義

DesignerActionListCollection 執行個體中設定數值前,執行額外的自訂處理序。

protected:
 override void OnSet(int index, System::Object ^ oldValue, System::Object ^ newValue);
protected override void OnSet (int index, object oldValue, object newValue);
override this.OnSet : int * obj * obj -> unit
Protected Overrides Sub OnSet (index As Integer, oldValue As Object, newValue As Object)

參數

index
Int32

可以找到 oldValue 處之以零起始的索引。

oldValue
Object

newValue 取代的值。

newValue
Object

index 處的新項目值。

適用於