DefinedNameCollection
DefinedNameCollection
Przegląd
DefinedNameCollection jest strukturą w Aspose.Cells FOSS dla Rust.
Reprezentuje kolekcję zdefiniowanych obiektów nazw.
Ta struktura deklaruje 5 metod dla obiektów DefinedNameCollection w programach Rust. Dostępne metody to: add, add_with_scope, count, get, remove_at. Publiczne elementy są dostępne dla każdej aplikacji Rust po zainstalowaniu pakietu Aspose.Cells FOSS dla Rust.
Metody
| Sygnatura | Opis |
|---|---|
count() → usize | Zwraca liczbę elementów. |
add(name: impl Into<String>, formula: impl Into<String>) → Result<usize, CellsError> | Dodaje określony element. |
add_with_scope(name: impl Into<String>, formula: impl Into<String>, local_sheet_index: Option<usize>) → Result<usize, CellsError> | Dodaje element. |
get(index: usize) → Option<DefinedName<'_>> | Pobiera element z kolekcji. |
remove_at(index: usize) → Result<(), CellsError> | Usuwa element. |