AddDefaultWikiContent method
TOC
Collapse the table of content
Expand the table of content

SPUtility.AddDefaultWikiContent method

Initializes a wiki library with welcome and help content and sets the root folder welcome name for the list.

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

'Declaration
Public Shared Function AddDefaultWikiContent ( _
	wikiList As SPList _
) As String
'Usage
Dim wikiList As SPList
Dim returnValue As String

returnValue = SPUtility.AddDefaultWikiContent(wikiList)

Parameters

wikiList
Type: Microsoft.SharePoint.SPList

The wiki list.

Return value

Type: System.String
The server-relative URL to the welcome page.
Show:
© 2016 Microsoft