ValidationCollection

ValidationCollection class

Represents data validation collection.

Methods

NameDescription
add()Adds a data validation to the collection. NOTE: This member is now obsolete. Instead, please use ValidationCollection.Ad
add(ca)Adds a data validation to the collection.
add()Reserved for internal use.
clear()
contains()Reserved for internal use.
get(index)Gets the Validation element at the specified index.
get()Reserved for internal use.
getCount()
getValidationInCell(row, column)Gets the validation applied to given cell.
indexOf()Reserved for internal use.
iterator()
removeACell(row, column)Removes all validation setting on the cell.
removeArea(ca)Removes all validation setting on the range..
removeAt()

add()

Adds a data validation to the collection. NOTE: This member is now obsolete. Instead, please use ValidationCollection.Add(CellArea) method. This property will be removed 12 months later since JANUARY 2015. Aspose apologizes for any inconvenience you may have experienced.@return {Number} Validation object index.

add(ca)

Adds a data validation to the collection.

ParameterTypeDescription
caCellAreaThe area contains this validation.

Returns: Number — Number Validation object index.

add()

Reserved for internal use.

clear()

contains()

Reserved for internal use.

get(index)

Gets the Validation element at the specified index.

ParameterTypeDescription
indexNumberThe zero based index of the element.

Returns: Validation — Validation The element at the specified index.

get()

Reserved for internal use.

getCount()

getValidationInCell(row, column)

Gets the validation applied to given cell.

ParameterTypeDescription
rowNumberThe row index.
columnNumberThe column index.

Returns: Validation — Validation Returns a Validation object or null if there is no validation for given cell

indexOf()

Reserved for internal use.

iterator()

removeACell(row, column)

Removes all validation setting on the cell.

ParameterTypeDescription
rowNumberThe row index of the cell.
columnNumberThe column index of the cell.

removeArea(ca)

Removes all validation setting on the range..

ParameterTypeDescription
caCellAreaThe range which contains the validations setting.

removeAt()