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
input
Type: System.StringA string that contains HTML markup.
folderUrl
Type: System.StringThe server-relative URL of a folder.
Return Value
Type: System.String
The converted string.