StringHelper.QuickValidate Method

HD.Common

StringHelperQuickValidate Method Helper帮助文档
快速验证一个字符串是否符合指定的正则表达式。

Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static bool QuickValidate(
	string _express,
	string _value
)
Public Shared Function QuickValidate ( 
	_express As String,
	_value As String
) As Boolean
public:
static bool QuickValidate(
	String^ _express, 
	String^ _value
)
static member QuickValidate : 
        _express : string * 
        _value : string -> bool 

Parameters

_express
Type: SystemString
正则表达式的内容。
_value
Type: SystemString
需验证的字符串。

Return Value

Type: Boolean
是否合法的bool值。
See Also

Reference