SPUserCodeWebPart.CreateEditorParts Method

Creates a EditorPartCollection for the SPUserCodeWebPart.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overrides Function CreateEditorParts As EditorPartCollection
'Usage
Dim instance As SPUserCodeWebPart
Dim returnValue As EditorPartCollection

returnValue = instance.CreateEditorParts()
public override EditorPartCollection CreateEditorParts()

Return Value

Type: System.Web.UI.WebControls.WebParts.EditorPartCollection
The collection of custom EditorPart controls.

Implements

IWebEditable.CreateEditorParts()

Remarks

This override creates a EditorPartCollection of EditorPart controls that are used to edit the properties, layout, appearance, and behavior of the SPUserCodeWebPart controls.

See Also

Reference

SPUserCodeWebPart Class

SPUserCodeWebPart Members

Microsoft.SharePoint.WebPartPages Namespace