Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Encodes the specified XML string and removes control characters.
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 XmlRemoveControlChars ( _
str As String _
) As String
'Usage
Dim str As String
Dim returnValue As String
returnValue = SPEncode.XmlRemoveControlChars(str)
public static string XmlRemoveControlChars(
string str
)
Parameters
str
Type: System.StringThe string to encode.
Return Value
Type: System.String
The encoded string.