Sets the allowed data type, comparison type, and minimum and maximum values to use when validating a cell entry. |
public void SetAllowedType(ValidationType allowedType, ComparisonType comparison, System.Object minimumValue, System.Object maximumValue) |
Public Sub SetAllowedType(ByVal allowedType As ValidationType, ByVal comparison As ComparisonType, ByVal minimumValue As Object, ByVal maximumValue As Object) |
The data type allowed in the cell. |
The comparison used to validate the cell's value. |
A primitive or Date representing the cell's maximum value. |
A primitive or Date representing the cell's minimum value. |