Click or drag to resize
HelperIsValidPatternValue Method (String, String, String)
Validates specified value with the specified regular expression pattern.

Namespace: Bio.Util
Assembly: 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
)

Parameters

name
Type: SystemString
Name of the field.
value
Type: SystemString
Value to validate.
pattern
Type: SystemString
Regular expression pattern.

Return Value

Type: String
Returns empty string if valid; otherwise error message.
See Also