Export (0) Print
Expand All

SPLimitedWebPartManager.AddWebPart method

Adds a dynamic Web Part to the WebPartPage.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public void AddWebPart(
	WebPart webPart,
	string zoneId,
	int zoneIndex
)

Parameters

webPart
Type: System.Web.UI.WebControls.WebParts.WebPart
zoneId
Type: System.String
zoneIndex
Type: System.Int32

Community Additions

Show:
© 2014 Microsoft