WebPart.OnClosing(EventArgs) 메서드

정의

WebPart 컨트롤이 웹 파트 페이지에서 닫힐 때 파생 클래스에서 사용자 지정 처리 기능을 제공하도록 설정합니다.

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

매개 변수

e
EventArgs

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

설명

기본 클래스의 메서드에는 WebPart 구현이 없습니다. 파생된 WebPart 컨트롤 컨트롤을 닫을 때 사용자 지정 처리를 제공 하는 데 필요한 경우 메서드를 재정의할 수 있습니다. WebPartManager 파생 클래스에서 구현을 OnClosing 제공하는 경우 컨트롤이 메서드를 자동으로 호출합니다.

적용 대상

추가 정보