Click or drag to resize
WebPartInfoProviderGenerateWebPartCode Method (Int32, String, String, String)
Generates the web part code.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 9.0.0
Syntax
C#
public static void GenerateWebPartCode(
	int webpartId,
	string baseControl,
	out string ascx,
	out string code
)

Parameters

webpartId
Type: SystemInt32
Web part ID
baseControl
Type: SystemString
Base control nested within the web part
ascx
Type: SystemString
Returning ASCX code
code
Type: SystemString
Returning code behind
See Also