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 인덱스입니다.

value
Object

Parameter 삽입되는 ParameterCollection값입니다.

설명

OnInsert 메서드가 호출되기 전에 추가 처리를 수행하기 위해 메서드가 Insert 호출됩니다.

상속자 참고

이 메서드를 통해 구현자는 기본 컬렉션에 요소를 삽입하기 전에 수행해야 하는 프로세스를 정의할 수 있습니다. 이 메서드를 정의하면 구현자는 다른 모든 메서드를 재정의하지 않고도 상속된 메서드에 기능을 추가할 수 있습니다.

적용 대상

추가 정보