Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AddDefaultWikiContent method
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)

public static string AddDefaultWikiContent(
	SPList wikiList
)

Parameters

wikiList
Type: Microsoft.SharePoint.SPList

The wiki list.

Return value

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