HelperIsValidPatternValue Method (String, String, String) |
Validates specified value with the specified regular expression pattern.
Namespace: Bio.UtilAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public static string IsValidPatternValue(
string name,
string value,
string pattern
)
Public Shared Function IsValidPatternValue (
name As String,
value As String,
pattern As String
) As String
public:
static String^ IsValidPatternValue(
String^ name,
String^ value,
String^ pattern
)
static member IsValidPatternValue :
name : string *
value : string *
pattern : string -> string
Parameters
- name
- Type: SystemString
Name of the field. - value
- Type: SystemString
Value to validate. - pattern
- Type: SystemString
Regular expression pattern.
Return Value
Type:
StringReturns empty string if valid; otherwise error message.
See Also