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

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.2.23
Syntax
C#
public static void GenerateWebPartCode(
	WebPartInfo wpi,
	string baseControl,
	out string ascx,
	out string code,
	out string designer
)

Parameters

wpi
Type: CMS.PortalEngineWebPartInfo
Web part info
baseControl
Type: SystemString
Base control nested within the web part
ascx
Type: SystemString
Returning ASCX code
code
Type: SystemString
Returning code behind
designer
Type: SystemString
Returning designer file
See Also