共用方式為


SPUtility.ConvertHtmlLinkToWikiLink method (String, String)

將 HTML 轉換成 wiki (英文) 標記的資料夾所指定的輸入的字串和 URL。

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

Syntax

'宣告
Public Shared Function ConvertHtmlLinkToWikiLink ( _
    input As String, _
    folderUrl As String _
) As String
'用途
Dim input As String
Dim folderUrl As String
Dim returnValue As String

returnValue = SPUtility.ConvertHtmlLinkToWikiLink(input, _
    folderUrl)
public static string ConvertHtmlLinkToWikiLink(
    string input,
    string folderUrl
)

參數

  • folderUrl
    Type: System.String

    伺服器相對 URL 的資料夾。

傳回值

Type: System.String
轉換的字串。

請參閱

參照

SPUtility class

SPUtility members

ConvertHtmlLinkToWikiLink overload

Microsoft.SharePoint.Utilities namespace