EditorZone.CreateEditorParts Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates all the EditorPart controls declared within a zone template in page persistence format.
protected:
override System::Web::UI::WebControls::WebParts::EditorPartCollection ^ CreateEditorParts();
protected override System.Web.UI.WebControls.WebParts.EditorPartCollection CreateEditorParts ();
override this.CreateEditorParts : unit -> System.Web.UI.WebControls.WebParts.EditorPartCollection
Protected Overrides Function CreateEditorParts () As EditorPartCollection
Returns
An EditorPartCollection that contains references to all the EditorPart controls declared within the zone template.
Exceptions
The current EditorPart control does not have an ID.
Remarks
The CreateEditorParts method overrides the base method to create only the EditorPart controls that are declared within the zone template. Any other EditorPart controls added to the zone must be added programmatically. This can be done, for example, by implementing the IWebEditable interface in a WebPart control. Then, in the overridden CreateEditorParts method, you can add a collection of custom EditorPart controls to a zone.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om