메소드 | 설명 | |
---|---|---|
RegexValidationRule ( ) : System |
Parameterless constructor.
|
|
RegexValidationRule ( string regexText ) : System |
Creates a RegexValidationRule with the specified regular expression.
|
|
RegexValidationRule ( string regexText, string errorMessage ) : System |
Creates a RegexValidationRule with the specified regular expression and error message.
|
|
RegexValidationRule ( string regexText, string errorMessage, RegexOptions regexOptions ) : System |
Creates a RegexValidationRule with the specified regular expression, error message, and RegexOptions.
|
|
Validate ( object value, |
Validates the 'value' argument using the regular expression and RegexOptions associated with this object.
|
public RegexValidationRule ( string regexText ) : System | ||
regexText | string | The regular expression used by the new instance. |
리턴 | System |
public RegexValidationRule ( string regexText, string errorMessage ) : System | ||
regexText | string | The regular expression used by the new instance. |
errorMessage | string | The error message used when validation fails. |
리턴 | System |
public RegexValidationRule ( string regexText, string errorMessage, RegexOptions regexOptions ) : System | ||
regexText | string | The regular expression used by the new instance. |
errorMessage | string | The error message used when validation fails. |
regexOptions | RegexOptions | The RegexOptions used by the new instance. |
리턴 | System |
public Validate ( object value, |
||
value | object | |
cultureInfo | ||
리턴 | System.Windows.Controls.ValidationResult |