ValidationCollection
ValidationCollection
Przegląd
ValidationCollection jest strukturą w Aspose.Cells FOSS dla Rust.
Reprezentuje kolekcję obiektów walidacji.
Ta struktura deklaruje 6 metod dla obiektów ValidationCollection w programach Rust. Dostępne metody obejmują: add, count, get, get_validation_in_cell, remove_a_cell, remove_area. Publiczne elementy są dostępne dla dowolnej aplikacji Rust po zainstalowaniu pakietu Aspose.Cells FOSS dla Rust.
Metody
| Sygnatura | Opis |
|---|---|
count() → usize | Zwraca liczbę elementów. |
add(area: CellArea) → Result<usize, CellsError> | Dodaje określony element. |
get(index: usize) → Option<Validation<'_>> | Pobiera element z kolekcji. |
get_validation_in_cell(row: i32, column: i32) → Result<Option<Validation<'_>>, CellsError> | Pobiera powiązaną wartość. |
remove_a_cell(row: i32, column: i32) → Result<(), CellsError> | Usuwa element. |
remove_area(area: CellArea) → Result<(), CellsError> | Usuwa element. |