DesignerVerbCollection.OnInsert(Int32, Object) 方法

定義

引發 Insert 事件。

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

參數

index
Int32

要插入項目處的索引。

value
Object

要插入的物件。

備註

繼承者可以覆寫這個方法,以新增事件的行為 Insert

適用於