SafeHtmlWrapper.StripHtmlToPlainText Method (String, Boolean, Boolean)
Namespace: Microsoft.Office.Server.Infrastructure
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Shared Function StripHtmlToPlainText ( _
strHtml As String, _
includingNbsp As Boolean, _
includingNCR As Boolean _
) As String
'Usage
Dim strHtml As String
Dim includingNbsp As Boolean
Dim includingNCR As Boolean
Dim returnValue As String
returnValue = SafeHtmlWrapper.StripHtmlToPlainText(strHtml, _
includingNbsp, includingNCR)
public static string StripHtmlToPlainText(
string strHtml,
bool includingNbsp,
bool includingNCR
)
Parameters
- strHtml
Type: System.String
- includingNbsp
Type: System.Boolean
- includingNCR
Type: System.Boolean
Return Value
Type: System.String