แก้ไข

แชร์ผ่าน


ParameterCollection.OnInsert(Int32, Object) Method

Definition

Occurs before the Insert(Int32, Parameter) method is called.

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)

Parameters

index
Int32

The index in the collection that the Parameter is inserted at.

value
Object

The Parameter that is inserted into the ParameterCollection.

Remarks

The OnInsert method is called to perform additional processing before the Insert method is called.

Notes to Inheritors

This method allows implementers to define processes that must be performed before inserting an element into the underlying collection. By defining this method, implementers can add functionality to inherited methods without having to override all other methods.

Applies to

See also