 | ValidateUtilIsValidUserName 方法 |
Sweet 开发框架
检测用户名格式是否有效
命名空间:
Sweet.Common.DoNetCode
程序集:
Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法public static bool IsValidUserName(
string userName
)
Public Shared Function IsValidUserName (
userName As String
) As Boolean
static member IsValidUserName :
userName : string -> bool
参数
- userName
- 类型:SystemString
[缺少 "M:Sweet.Common.DoNetCode.ValidateUtil.IsValidUserName(System.String)" 的 <param name="userName"/> 文档]
返回值
类型:
Boolean[缺少 "M:Sweet.Common.DoNetCode.ValidateUtil.IsValidUserName(System.String)" 的 <returns> 文档]
参见