 | ValidateUtilIsIdCard 方法 |
Sweet 开发框架
验证身份证是否合法 15 和 18位两种
命名空间:
Sweet.Common.DoNetCode
程序集:
Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法public static bool IsIdCard(
string idCard
)
Public Shared Function IsIdCard (
idCard As String
) As Boolean
static member IsIdCard :
idCard : string -> bool
参数
- idCard
- 类型:SystemString
要验证的身份证
返回值
类型:
Boolean[缺少 "M:Sweet.Common.DoNetCode.ValidateUtil.IsIdCard(System.String)" 的 <returns> 文档]
参见