| PageTemplateInstanceAddWebPart Method (String, Int32, Int32) | 
            Adds the web part instance to the specified zone
            
 
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
 Syntax
Syntaxpublic WebPartInstance AddWebPart(
	string zoneId,
	int webPartId,
	int position = -1
)
Parameters
- zoneId
- Type: SystemString
 Zone ID
- webPartId
- Type: SystemInt32
 Web part ID
- position (Optional)
- Type: SystemInt32
 The position of the web part in the target zone
Return Value
Type: 
WebPartInstance See Also
See Also