| WebPartZoneInstanceAddWebPart Method (WebPartInstance, Int32) | 
            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.PortalEngineAssembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
 Syntax
Syntaxpublic WebPartInstance AddWebPart(
	WebPartInstance webPart,
	int position = -1
)
Parameters
- webPart
- Type: CMS.PortalEngineWebPartInstance
 Web part to add
- position (Optional)
- Type: SystemInt32
 Position where to add the web part
Return Value
Type: 
WebPartInstance Remarks
RemarksReturns a new instance of web part if the given web part is present within it's parent zone
 See Also
See Also