Export (0) Print
Expand All
Expand Minimize

SPUtility.CreateNewWikiPage method

Adds a new Wiki page to a Wiki page library.

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

public static SPFile CreateNewWikiPage(
	SPList wikiList,
	string url
)

Parameters

wikiList
Type: Microsoft.SharePoint.SPList

The destination page library.

url
Type: System.String

The URL of the page to add.

Return value

Type: Microsoft.SharePoint.SPFile
The newly added page.

Callers must set field values and call the Update() method.

Show:
© 2014 Microsoft