DefinedNameCollection
Overview
DefinedNameCollection is a class in Aspose.Cells for NET.
Inherits from: IEnumerable<DefinedName>.
DefinedNameCollection.Add adds a new defined name with the specified formula to the workbook.
Description
DefinedNameCollection is a class in the Aspose.Cells FOSS library for .NET that exposes 4 methods and 1 property for programmatic use. It extends IEnumerable<DefinedName>, inheriting shared functionality from its parent type.
The class also provides the Count property (gets the total number of defined names in the collection).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | Read | Gets the total number of defined names in the collection |
Methods
| Signature | Description |
|---|---|
Add(name: string, formula: string) | Adds a workbook-scoped defined name with the specified formula |
Add(name: string, formula: string, localSheetIndex: int?) | |
RemoveAt(index: int) | Removes the defined name at the specified collection index |
GetEnumerator() | Returns an enumerator for iterating over defined names |