Share via


LimitedWebPartManager.AddWebPart(WebPart, String, Int32) Method

Definition

[Microsoft.SharePoint.Client.Remote]
public Microsoft.SharePoint.Client.WebParts.WebPartDefinition AddWebPart (Microsoft.SharePoint.Client.WebParts.WebPart webPart, string zoneId, int zoneIndex);
member this.AddWebPart : Microsoft.SharePoint.Client.WebParts.WebPart * string * int -> Microsoft.SharePoint.Client.WebParts.WebPartDefinition

Parameters

webPart
WebPart
zoneId
String
zoneIndex
Int32

Returns

Attributes

Applies to