DefinedNameCollection

DefinedNameCollection

Overview

DefinedNameCollection is a class in Aspose.Cells FOSS for C++.

Represents a collection of defined name objects.

Methods

SignatureDescription
GetCount()intGets the number of items.
Add(name: std::string_view, formula: std::string_view)intAdds 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>)intAdds 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.

See Also