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

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,
	Regex regx
)

Parameters

name
Type: SystemString
Name of the field.
value
Type: SystemString
Value to validate.
regx
Type: System.Text.RegularExpressionsRegex
Regular expression object.

Return Value

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