DefinedNameCollection

DefinedNameCollection

Overview

DefinedNameCollection is a struct in Aspose.Cells FOSS for Rust.

Represents a collection of defined name objects.

This struct declares 5 methods for DefinedNameCollection objects in Rust programs. Available methods include: add, add_with_scope, count, get, remove_at. Public members are accessible to any Rust application after installing the Aspose.Cells FOSS for Rust package.

Methods

SignatureDescription
count() → usizeGets 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.

See Also

 English