SPUtility.CreateNewWikiPage method
將新的 Wiki 頁面新增至 Wiki 頁面庫。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function CreateNewWikiPage ( _
wikiList As SPList, _
url As String _
) As SPFile
'用途
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
)
參數
wikiList
Type: Microsoft.SharePoint.SPList目的地頁面文件庫。
url
Type: System.String若要新增頁面的 URL。
傳回值
Type: Microsoft.SharePoint.SPFile
[新增] 頁面。
備註
來電者必須設定欄位值,並呼叫Update()方法。