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 and a set of valid values to use when validating a cell entry.

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

The data type allowed in the cell.

Param
sourceArraysourceArray

For 'List' allowed type: the array of valid values for the cell.

Remarks
This method may only be used for ValidationTypes of List, Custom, or AnyValue. 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:sourceArray}For 'List' allowed type: the array of valid values for the cell.{param}
{remarks}
This method may only be used for ValidationTypes of List, Custom, or AnyValue. See object documentation for the ValidationType parameter type combinations accepted by this method.
{remarks}