SPStringUtility.RemoveControlChars method
移除控制字元從指定的字串。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function RemoveControlChars ( _
value As String _
) As String
'用途
Dim value As String
Dim returnValue As String
returnValue = SPStringUtility.RemoveControlChars(value)
public static string RemoveControlChars(
string value
)
參數
value
Type: System.String字串,包含要移除的控制字元。
傳回值
Type: System.String
移除具有控制字元的字串版本。