LimitedWebPartManager.AddWebPart(WebPart, String, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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