SPUtility.ConvertHtmlLinkToWikiLink Method (String, SPList)
Converts HTML to Wiki tags given an input string and the URL for a list.
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, _
list As SPList _
) As String
'Usage
Dim input As String
Dim list As SPList
Dim returnValue As String
returnValue = SPUtility.ConvertHtmlLinkToWikiLink(input, _
list)
public static string ConvertHtmlLinkToWikiLink(
string input,
SPList list
)
Parameters
input
Type: System.StringA string that contains HTML markup.
list
Type: Microsoft.SharePoint.SPListThe server-relative URL for the list.
Return Value
Type: System.String
The converted string.