ControlAdapter.OnUnload(EventArgs) 메서드

정의

연결된 컨트롤의 OnUnload(EventArgs) 메서드를 재정의합니다.

protected public:
 virtual void OnUnload(EventArgs ^ e);
protected internal virtual void OnUnload (EventArgs e);
abstract member OnUnload : EventArgs -> unit
override this.OnUnload : EventArgs -> unit
Protected Friend Overridable Sub OnUnload (e As EventArgs)

매개 변수

e
EventArgs

이벤트 데이터가 포함된 EventArgs입니다.

설명

개체에 Control 연결된 어댑터가 있고 메서드가 OnUnload 재정의된 경우 재정의 Control.OnUnload 메서드가 메서드 대신 호출됩니다.

제어 수 OnUnload 명 주기 단계에서 대상별 처리를 Unload 수행하도록 메서드를 재정의합니다. 일반적으로 이러한 함수는 컨트롤의 처리 앞에 오는 정리 함수입니다.

상속자 참고

클래스에서 ControlAdapter 상속하고 어댑터가 메서드를 재정 OnUnload(EventArgs) 의하는 경우 어댑터는 해당 기본 클래스 메서드를 호출해야 하며, 이 메서드는 메서드를 OnUnload(EventArgs) 호출합니다. 가 호출 Unload 되지 않으면 OnUnload(EventArgs) 이벤트가 발생하지 않습니다.

적용 대상

추가 정보