다음을 통해 공유


SPUtility.ConvertHtmlLinkToWikiLink Method (String, String)

Converts HTML to Wiki tags given an input string and the URL for a folder.

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 ConvertHtmlLinkToWikiLink ( _
    input As String, _
    folderUrl As String _
) As String
'Usage
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
)

Parameters

  • folderUrl
    Type: System.String

    The server-relative URL of a folder.

Return Value

Type: System.String
The converted string.

See Also

Reference

SPUtility Class

SPUtility Members

ConvertHtmlLinkToWikiLink Overload

Microsoft.SharePoint.Utilities Namespace