DefinedNameCollection
Overview
DefinedNameCollection is a class in Aspose.Cells FOSS for C++.
Represents a collection of defined name objects.
Methods
| Signature | Description |
|---|---|
GetCount() → int | Gets the number of items. |
Add(name: std::string_view, formula: std::string_view) → int | Adds the specified item. The name. The formula. The zero-based index of the added item. |
Add(name: std::string_view, formula: std::string_view, localSheetIndex: std::optional<int>) → int | Adds the specified item. The name. The formula. The zero-based index of the added item. |
RemoveAt(index: int) | Removes the specified item. The zero-based index. |
GetEnumerator() → std::vector<DefinedName> | Returns a snapshot of all defined names in the collection. A vector containing copies of all defined names. |