Parameters
- worksheet
- The Worksheet object which contains the data validation.
- expression
- An GrapeCity.CalcEngine.Expression object indicates the expression to check.
- type
- An enum indicates the type of data validation used to validate user input.
Return Value
A DataRestrictions value represents the restriction reason of the specified expression.