SPEncode.IsLegalCharInUrl method
會傳回 Boolean 值,指出指定的字元是否為合法的字元通用資源定位器 (URL) 通訊協定中。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function IsLegalCharInUrl ( _
ch As Char _
) As Boolean
'用途
Dim ch As Char
Dim returnValue As Boolean
returnValue = SPEncode.IsLegalCharInUrl(ch)
public static bool IsLegalCharInUrl(
char ch
)
參數
ch
Type: System.CharSystem.Char 物件,代表用來評估的字元。
傳回值
Type: System.Boolean
在 [URL 通訊協定 ; 法律true,字元時否則,請false。