ValidationCollection
概述
ValidationCollection 是 Aspose.Cells FOSS for Rust 中的结构体。
表示一个验证对象的集合。
此结构体在 Rust 程序中为 ValidationCollection 对象声明了 6 个方法。可用的方法包括:add、count、get、get_validation_in_cell、remove_a_cell、remove_area。在安装 Aspose.Cells FOSS for Rust 包后,公共成员可供任何 Rust 应用程序访问。
方法
| 签名 | 描述 |
|---|---|
count() → usize | 获取项的数量。 |
add(area: CellArea) → Result<usize, CellsError> | 添加指定的项目。 |
get(index: usize) → Option<Validation<'_>> | 获取集合中的项。 |
get_validation_in_cell(row: i32, column: i32) → Result<Option<Validation<'_>>, CellsError> | 获取关联的值。 |
remove_a_cell(row: i32, column: i32) → Result<(), CellsError> | 移除一个项目。 |
remove_area(area: CellArea) → Result<(), CellsError> | 移除一个项目。 |