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