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 value to use when validating a cell entry.

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

The data type allowed in the cell.

Param
comparisoncomparison

The comparison used to validate the cell's value.

Param
valuevalue

A primitive or Date representing data validation's constraint value.

Remarks
This method may only be used for ValidationTypes other than List and Custom. This method may only be used for ComparisonTypes other than Between and NotBetween. See object documentation for the ValidationType parameter type combinations accepted by this method.
{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:value}A primitive or Date representing data validation's constraint value.{param}
{remarks}
This method may only be used for ValidationTypes other than List and Custom.  This method may only be used for ComparisonTypes other than Between and NotBetween. See object documentation for the ValidationType parameter type combinations accepted by this method.
{remarks}