SafeHtmlWrapper.GetSafeHtml Method
This member is reserved for internal use and is not intended to be used directly from your code.
Namespace: Microsoft.Office.Server.Infrastructure
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Shared Function GetSafeHtml ( _
strUnsafeHtml As String, _
cpSrc As Integer, _
cpDst As Integer, _
grfosh As Integer, _
urlHandlingCallback As SafeHtmlWrapper.EditOrDropUrls, _
<OutAttribute> ByRef unsafeContentFound As Boolean _
) As String
'Usage
Dim strUnsafeHtml As String
Dim cpSrc As Integer
Dim cpDst As Integer
Dim grfosh As Integer
Dim urlHandlingCallback As SafeHtmlWrapper.EditOrDropUrls
Dim unsafeContentFound As Boolean
Dim returnValue As String
returnValue = SafeHtmlWrapper.GetSafeHtml(strUnsafeHtml, _
cpSrc, cpDst, grfosh, urlHandlingCallback, _
unsafeContentFound)
public static string GetSafeHtml(
string strUnsafeHtml,
int cpSrc,
int cpDst,
int grfosh,
SafeHtmlWrapper.EditOrDropUrls urlHandlingCallback,
out bool unsafeContentFound
)
Parameters
- strUnsafeHtml
Type: System.String
- cpSrc
Type: System.Int32
- cpDst
Type: System.Int32
- grfosh
Type: System.Int32
- urlHandlingCallback
Type: Microsoft.Office.Server.Infrastructure.SafeHtmlWrapper.EditOrDropUrls
- unsafeContentFound
Type: System.Boolean
Return Value
Type: System.String