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)

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