Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CreateNewWikiPage method
Collapse the table of content
Expand the table of content

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:
© 2015 Microsoft