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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

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

returnValue = SPUtility.AddDefaultWikiContent(wikiList)
public static string AddDefaultWikiContent(
    SPList wikiList
)

Parameters

Return Value

Type: System.String
The server-relative URL to the welcome page.

See Also

Reference

SPUtility Class

SPUtility Members

Microsoft.SharePoint.Utilities Namespace