PostnetValidationRule Class
A validation rule that determines whether a value is valid for the Postnet
symbology.
public class PostnetValidationRule : ValidationRule
- Inheritance:
- object ValidationRule object
Constructors
PostnetValidationRule()
Initializes an instance of the class.
public PostnetValidationRule()
Methods
Validate(object, CultureInfo)
Performs validation checks on a value.
public override ValidationResult Validate(object value, CultureInfo cultureInfo)
Parameter | Type | Description |
---|---|---|
value | object | The value from the binding target to check. |
cultureInfo | CultureInfo | The culture to use in this rule. |
Returns
- ValidationResult:
A ValidationResult that specifies the result.