In This Article

UpcAValidationRule Class

A validation rule that determines whether a value is valid for the UPC-A symbology.

public class UpcAValidationRule : ValidationRule
Inheritance:
Object ValidationRule Object

Constructors

UpcAValidationRule()

public UpcAValidationRule()

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.

Inherited Members