SPFieldMultiLineText.ProcessWikiLinks Method
Processes wiki links at page-rendering time.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Function ProcessWikiLinks ( _
input As String, _
item As SPListItem _
) As String
'Usage
Dim instance As SPFieldMultiLineText
Dim input As String
Dim item As SPListItem
Dim returnValue As String
returnValue = instance.ProcessWikiLinks(input, _
item)
public string ProcessWikiLinks(
string input,
SPListItem item
)
Parameters
input
Type: System.StringA string that contains the input text.
item
Type: Microsoft.SharePoint.SPListItemAn SPListItem object that represents the current list item.
Return Value
Type: System.String
The resulting processed string.
Remarks
Before each wiki page is rendered, SharePoint Foundation checks all the wiki links on the page to see if they are broken. If the links are broken, SharePoint Foundation replaces the links with a link to the wiki Creation Page and marks the link for editing.