DefinedNameCollection

DefinedNameCollection

Overview

DefinedNameCollection 是 NET 的 Aspose.Cells 中的一个类. 继承人: IEnumerable<DefinedName>.

DefinedNameCollection.Add adds a new defined name with the specified formula to the workbook.

Description

DefinedNameCollection 是一个类在Aspose.Cells FOSS库的.NET 暴露4种方法和1个属性用于编程使用. 它扩展了 IEnumerable<DefinedName>, 继承了其母型的共享功能.

课程还提供了 Count 属性 (得到集合中定义名称的总数).

Properties

NameTypeAccessDescription
CountintRead得到集合中定义的名称总数.

Methods

SignatureDescription
Add(name: string, formula: string)添加一个工作簿范围定义的名称,并指定公式.
Add(name: string, formula: string, localSheetIndex: int?)
RemoveAt(index: int)删除指定集合索引中的定义名称
GetEnumerator()返回一个对定义名称进行代的计数器

See Also

 中文