PageValidateFetchInputDigit Method | Helper帮助文档 |
检查Request查询字符串的键值,是否是数字,最大长度限制
Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static string FetchInputDigit( HttpRequest req, string inputKey, int maxLen )
Public Shared Function FetchInputDigit ( req As HttpRequest, inputKey As String, maxLen As Integer ) As String
public: static String^ FetchInputDigit( HttpRequest^ req, String^ inputKey, int maxLen )
static member FetchInputDigit : req : HttpRequest * inputKey : string * maxLen : int -> string
Parameters
- req
- Type: System.WebHttpRequest
Request - inputKey
- Type: SystemString
Request的键值 - maxLen
- Type: SystemInt32
最大长度
Return Value
Type: String返回Request查询字符串
See Also