Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Sets the allowed data type, comparison type, and minimum and maximum values to use when validating a cell entry.

Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets the allowed data type, comparison type, and minimum and maximum values to use when validating a cell entry.{excerpt}
{signature:C#}
 public void SetAllowedType(ValidationType allowedType, ComparisonType comparison, System.Object minimumValue, System.Object maximumValue)
Signature
{signature}{signature:vb.net
vb.net
}
Public Sub SetAllowedType(ByVal allowedType As ValidationType, ByVal comparison As ComparisonType, ByVal minimumValue As Object, ByVal maximumValue As Object)
Parameters
Param
allowedTypeallowedType

The data type allowed in the cell.

Param
comparisoncomparison

The comparison used to validate the cell's value.

Param
minimumValueminimumValue

A primitive or Date representing the cell's maximum value.

Param
maximumValuemaximumValueA primitive or Date representing the cell's minimum value.
{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}