WebPart.CreateEditorParts 메서드

정의

편집 모드에서 EditorPart 컨트롤을 편집하는 데 사용할 수 있는 사용자 지정 WebPart 컨트롤의 컬렉션을 반환합니다.

public:
 virtual System::Web::UI::WebControls::WebParts::EditorPartCollection ^ CreateEditorParts();
public virtual System.Web.UI.WebControls.WebParts.EditorPartCollection CreateEditorParts ();
abstract member CreateEditorParts : unit -> System.Web.UI.WebControls.WebParts.EditorPartCollection
override this.CreateEditorParts : unit -> System.Web.UI.WebControls.WebParts.EditorPartCollection
Public Overridable Function CreateEditorParts () As EditorPartCollection

반환

EditorPartCollection

EditorPartCollection 컨트롤에 연결된 사용자 지정 EditorPart 컨트롤이 들어 있는 WebPart입니다.

구현

설명

개발자는 이 메서드를 사용하여 컨트롤과 연결하려는 사용자 지정 EditorPart 컨트롤의 인스턴스를 WebPart 만들 수 있습니다. 사용자가 컨트롤에서 편집 동사를 클릭하면 메서드가 WebPart 호출됩니다.

참고

이 메서드에서 만든 컨트롤의 EditorPart 새 인스턴스는 컬렉션에 추가 EditorParts 하기 전에 해당 ID 속성에 할당된 값이 있어야 합니다.

메서드를 사용하는 코드 예제는 CreateEditorParts 클래스 개요를 EditorPart 참조하세요.

적용 대상

추가 정보