## Add() {#add_1}

将工作表添加到集合中。

```csharp
public int Add()
```

### 返回值

Worksheet对象索引。

### 也可以看看

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

---

## Add(string) {#add}

将工作表添加到集合中。

```csharp
public GridWorksheet Add(string sheetName)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| sheetName | String | 工作表名称 |

### 返回值

Worksheet目的。

### 也可以看看

* class [GridWorksheet](../../gridworksheet)
* class [GridWorksheetCollection](../../gridworksheetcollection)
* 命名空间 [Aspose.Cells.GridWeb.Data](../../gridworksheetcollection)
* 部件 [Aspose.Cells.GridWeb](../../../)

---

## Add(object) {#add_2}

添加工作表对象。

```csharp
public int Add(object value)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| value | Object | 单子。 |

### 也可以看看

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

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