Table of contents
TOC
Collapse the table of content
Expand the table of content

PageExtensions.AddHtmlToWikiPage Method

SharePoint Dev Documents|Last Updated: 5/20/2017
|
1 Contributor

Add a HTML fragment to a location on a wiki style page

Namespace:Microsoft.SharePoint.Client
Assembly: OfficeDevPnP.Core.dll

Syntax

public static void AddHtmlToWikiPage(this Web web, String folder, String html, String page, Int32 row, Int32 col)

Parameters

web

  Type: Microsoft.SharePoint.Client.Web
  Site to be processed - can be root web or sub site

folder

  Type: System.String
  System name of the wiki page library - typically sitepages

html

  Type: System.String
  html to be inserted

page

  Type: System.String
  Page to add the web part on

row

  Type: System.Int32
  Row of the wiki table that should hold the inserted web part

col

  Type: System.Int32
  Column of the wiki table that should hold the inserted web part

Return Value

Type: void

See also

© 2018 Microsoft