Creates a DataValidation object which can be set on a Range, Area, or Cell. |
public DataValidation CreateDataValidation(ValidationType allowedType, ComparisonType comparison, System.Object minimumValue, System.Object maximumValue) |
Public Function CreateDataValidation(ByVal allowedType As ValidationType, ByVal comparison As ComparisonType, ByVal minimumValue As Object, ByVal maximumValue As Object) As DataValidation |
The data type allowed in the cell. |
The comparison used to validate the cell's value. |
A primitive or Date representing cell's maximum value. |
A primitive or Date representing the cell's minimum value. |
A DataValidation object. |
|