共用方式為


WikiEditPage.InsertWebPartIntoWikiPage method

Wiki 頁面的指定位置插入WebPart

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

Syntax

'宣告
Public Shared Sub InsertWebPartIntoWikiPage ( _
    wikiFile As SPFile, _
    webpart As WebPart, _
    position As Integer _
)
'用途
Dim wikiFile As SPFile
Dim webpart As WebPart
Dim position As IntegerWikiEditPage.InsertWebPartIntoWikiPage(wikiFile, _
    webpart, position)
public static void InsertWebPartIntoWikiPage(
    SPFile wikiFile,
    WebPart webpart,
    int position
)

參數

  • position
    Type: System.Int32

    指定的頁面中 wiki 的位置。

備註

WebPart插入的內容中指定的頁面 wiki 的一部份。

請參閱

參照

WikiEditPage class

WikiEditPage members

Microsoft.SharePoint.WebPartPages namespace