NameCollection
内容
[
隐藏
]NameCollection class
代表所有的集合Name电子表格中的对象。
public class NameCollection : CollectionBase<Name>
特性
| 姓名 | 描述 |
|---|---|
| Capacity { get; set; } | |
| Count { get; } | |
| Item { get; } | 获取Name指定索引处的元素。 (2 indexers) |
| Item { get; set; } |
方法
| 姓名 | 描述 |
|---|---|
| Add(string) | 定义一个新名称。 |
| BinarySearch(Name) | |
| BinarySearch(Name, IComparer<Name>) | |
| BinarySearch(int, int, Name, IComparer<Name>) | |
| Clear() | 删除所有没有被公式和数据源引用的定义名称。 如果定义的名称被引用,我们只设置Name.ReferTo为null并隐藏它们。 (2 methods) |
| Contains(Name) | |
| CopyTo(Name[]) | |
| CopyTo(Name[], int) | |
| CopyTo(int, Name[], int, int) | |
| Exists(Predicate<Name>) | |
| Filter(NameScopeType, int) | 按范围获取所有定义的名称。 |
| Find(Predicate<Name>) | |
| FindAll(Predicate<Name>) | |
| FindIndex(Predicate<Name>) | |
| FindIndex(int, Predicate<Name>) | |
| FindIndex(int, int, Predicate<Name>) | |
| FindLast(Predicate<Name>) | |
| FindLastIndex(Predicate<Name>) | |
| FindLastIndex(int, Predicate<Name>) | |
| FindLastIndex(int, int, Predicate<Name>) | |
| GetEnumerator() | |
| IndexOf(Name) | |
| IndexOf(Name, int) | |
| IndexOf(Name, int, int) | |
| LastIndexOf(Name) | |
| LastIndexOf(Name, int) | |
| LastIndexOf(Name, int, int) | |
| Remove(string) | 删除名称。 |
| Remove(string[]) | 移除名称数组 |
| RemoveAt(int) | 删除特定索引处的名称。 (2 methods) |
| RemoveDuplicateNames() | 删除重复的定义名称 |
| Sort() | 对定义的名称进行排序。 |
也可以看看
- class CollectionBase<T>
- class Name
- 命名空间 Aspose.Cells
- 部件 Aspose.Cells