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處的新值。

適用於