WebPartZoneInstance AddWebPart Method (WebPartInstance, Int32)Kentico 8.1 API Reference
Add the web part to the zone. If the web part is present in different zone, creates a copy of the web part.

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

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