Expand Minimize
This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.