다음을 통해 공유


SPUtility.CreateNewWikiPage Method

Adds a new Wiki page to a Wiki page library.

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 CreateNewWikiPage ( _
    wikiList As SPList, _
    url As String _
) As SPFile
'Usage
Dim wikiList As SPList
Dim url As String
Dim returnValue As SPFile

returnValue = SPUtility.CreateNewWikiPage(wikiList, _
    url)
public static SPFile CreateNewWikiPage(
    SPList wikiList,
    string url
)

Parameters

Return Value

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

Remarks

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

See Also

Reference

SPUtility Class

SPUtility Members

Microsoft.SharePoint.Utilities Namespace