SPEncode.XmlRemoveControlChars method
編碼指定的 XML 字串,並移除控制字元。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function XmlRemoveControlChars ( _
str As String _
) As String
'用途
Dim str As String
Dim returnValue As String
returnValue = SPEncode.XmlRemoveControlChars(str)
public static string XmlRemoveControlChars(
string str
)
參數
str
Type: System.String要編碼的字串。
傳回值
Type: System.String
編碼的字串。