DefinedNameCollection
概述
DefinedNameCollection 是 Aspose.Cells FOSS for Java 中的一个类。
继承自:Iterable<DefinedName>。
表示工作簿中已定义名称的集合。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
count | int | 读取 | 返回计数。 |
方法
| Signature | Description |
|---|---|
getCount() → int | 返回计数。 |
get(index: int) → DefinedName | 返回请求的项目。 |
add(name: String, formula: String) → int | 向当前集合添加新项目。 |
add(name: String, formula: String, localSheetIndex: Integer) → int | 向当前集合添加新项目。 |
removeAt(index: int) | 在指定位置删除。 |
iterator() → Iterator<DefinedName> | 返回当前集合的迭代器。 |