PageTemplateInstance AddWebPart Method (String, WebPartInstance, Int32)Kentico 8.0 API Reference
Adds the web part instance to the specified zone.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Return Value

Type: WebPartInstance
Remarks

Returns a new instance of web part if the given web part is present within it's parent zone
See Also