EditorZoneBase.CreateEditorParts 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供派生区域可以重写的基方法声明,以处理创建 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 一个示例。