ValidationCollection
Overview
ValidationCollection is a struct in Aspose.Cells FOSS for Rust.
Represents a collection of validation objects.
This struct provides 6 methods for working with ValidationCollection objects in Rust programs.
Available methods include: add, count, get, get_validation_in_cell, remove_a_cell, remove_area.
All public members are accessible to any Rust application after installing the Aspose.Cells FOSS for Rust package.
Methods
| Signature | Description |
|---|---|
count() → usize | Gets the number of items. |
add(area: CellArea) → Result<usize, CellsError> | Adds the specified item. |
get(index: usize) → Option<Validation<'_>> | Gets the item from the collection. |
get_validation_in_cell(row: i32, column: i32) → Result<Option<Validation<'_>>, CellsError> | Gets the associated value. |
remove_a_cell(row: i32, column: i32) → Result<(), CellsError> | Removes an item. |
remove_area(area: CellArea) → Result<(), CellsError> | Removes an item. |