EditorZoneBase.CreateEditorParts 方法

定义

提供派生区域可以重写的基方法声明,以处理创建 EditorPart 区域中包含的控件的详细信息。

protected:
 abstract System::Web::UI::WebControls::WebParts::EditorPartCollection ^ CreateEditorParts();
protected abstract System.Web.UI.WebControls.WebParts.EditorPartCollection CreateEditorParts();
abstract member CreateEditorParts : unit -> System.Web.UI.WebControls.WebParts.EditorPartCollection
Protected MustOverride Function CreateEditorParts () As EditorPartCollection

返回

一个 EditorPartCollection 包含与区域关联的控件的 EditorPart 集合。

注解

该方法 CreateEditorParts 不提供任何实现。 它旨在实现在派生类中,并且应用于在宿主网页进入编辑模式时创建区域中包含的控件集合 EditorPart 的实例。 该方法 EditorZone.CreateEditorParts 提供了方法实现的 CreateEditorParts 一个示例。

适用于

另请参阅