WebPartInfoProviderGenerateWebPartCode Method (Int32, String, String, String) |
Generates the web part code.
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.2.23
Syntax 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