## GridCells.CopyColumn method

复制整列的数据和格式。

```csharp
public void CopyColumn(GridCells sourceCells, int sourceColumnIndex, int destinationColumnIndex)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| sourceCells | GridCells | 源单元格对象包含要复制的数据和格式。 |
| sourceColumnIndex | Int32 | 源列索引。 |
| destinationColumnIndex | Int32 | 目标列索引。 |

### 也可以看看

* class [GridCells](../../gridcells)
* 命名空间 [Aspose.Cells.GridWeb.Data](../../gridcells)
* 部件 [Aspose.Cells.GridWeb](../../../)

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