ParameterCollection.OnInsert(Int32, Object) 方法

定义

Insert(Int32, Parameter) 调用方法之前发生。

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

插入到的集合 Parameter 中的索引。

注解

调用 OnInsert 该方法以在调用方法之前 Insert 执行其他处理。

继承者说明

此方法允许实现者定义在将元素插入基础集合之前必须执行的进程。 通过定义此方法,实现者可以向继承的方法添加功能,而无需重写所有其他方法。

适用于

另请参阅