## GridColumnCollection class

收集代表工作表中各个列的对象。

```csharp
public class GridColumnCollection
```

## 特性

| 姓名 | 描述 |
| --- | --- |
| [Count](../../aspose.cells.gridweb.data/gridcolumncollection/count) { get; } |  |
| [Item](../../aspose.cells.gridweb.data/gridcolumncollection/item) { get; } | 得到一个按列索引的对象。给定列索引的 Column 对象如果之前不存在将被实例化。 |

## 方法

| 姓名 | 描述 |
| --- | --- |
| [GetColumnByIndex](../../aspose.cells.gridweb.data/gridcolumncollection/getcolumnbyindex)(int) | 获取Column对象在列表中的位置。 |
| [GetEnumerator](../../aspose.cells.gridweb.data/gridcolumncollection/getenumerator)() | 获取列 enumerator |

### 也可以看看

* 命名空间 [Aspose.Cells.GridWeb.Data](../../aspose.cells.gridweb.data)
* 部件 [Aspose.Cells.GridWeb](../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.GridWeb.dll -->
