DefinedNameCollection
Overview
DefinedNameCollection is a struct in Aspose.Cells FOSS for Rust.
Represents a collection of defined name objects.
This struct provides 5 methods for working with DefinedNameCollection objects in Rust programs.
Available methods include: add, add_with_scope, count, get, remove_at.
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(name: impl Into<String>, formula: impl Into<String>) → Result<usize, CellsError> | Adds the specified item. |
add_with_scope(name: impl Into<String>, formula: impl Into<String>, local_sheet_index: Option<usize>) → Result<usize, CellsError> | Adds an item. |
get(index: usize) → Option<DefinedName<'_>> | Gets the item from the collection. |
remove_at(index: usize) → Result<(), CellsError> | Removes an item. |