## PutValue(bool) {#putvalue}

将布尔值放入单元格中。

```csharp
public void PutValue(bool boolValue)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| boolValue | Boolean |  |

### 也可以看看

* class [Cell](../../cell)
* 命名空间 [Aspose.Cells](../../cell)
* 部件 [Aspose.Cells](../../../)

---

## PutValue(int) {#putvalue_2}

将整数值放入单元格中。

```csharp
public void PutValue(int intValue)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| intValue | Int32 | 输入值 |

### 也可以看看

* class [Cell](../../cell)
* 命名空间 [Aspose.Cells](../../cell)
* 部件 [Aspose.Cells](../../../)

---

## PutValue(double) {#putvalue_1}

将双精度值放入单元格中。

```csharp
public void PutValue(double doubleValue)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| doubleValue | Double | 输入值 |

### 也可以看看

* class [Cell](../../cell)
* 命名空间 [Aspose.Cells](../../cell)
* 部件 [Aspose.Cells](../../../)

---

## PutValue(string, bool, bool) {#putvalue_7}

将一个值放入单元格中，如果合适，该值将转换为其他数据类型，并且单元格的数字格式将被重置。

```csharp
public void PutValue(string stringValue, bool isConverted, bool setStyle)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| stringValue | String | 输入值 |
| isConverted | Boolean | True：如果合适，转换为其他数据类型。 |
| setStyle | Boolean | True：在转换为其他数据类型时将数字格式设置为单元格的样式 |

### 也可以看看

* class [Cell](../../cell)
* 命名空间 [Aspose.Cells](../../cell)
* 部件 [Aspose.Cells](../../../)

---

## PutValue(string, bool) {#putvalue_6}

将字符串值放入单元格中，并在适当时将该值转换为其他数据类型。

```csharp
public void PutValue(string stringValue, bool isConverted)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| stringValue | String | 输入值 |
| isConverted | Boolean | True：如果合适，转换为其他数据类型。 |

### 也可以看看

* class [Cell](../../cell)
* 命名空间 [Aspose.Cells](../../cell)
* 部件 [Aspose.Cells](../../../)

---

## PutValue(string) {#putvalue_5}

将字符串值放入单元格中。

```csharp
public void PutValue(string stringValue)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| stringValue | String | 输入值 |

### 也可以看看

* class [Cell](../../cell)
* 命名空间 [Aspose.Cells](../../cell)
* 部件 [Aspose.Cells](../../../)

---

## PutValue(DateTime) {#putvalue_3}

将 DateTime 值放入单元格中。

```csharp
public void PutValue(DateTime dateTime)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| dateTime | DateTime | 输入值 |

### 也可以看看

* class [Cell](../../cell)
* 命名空间 [Aspose.Cells](../../cell)
* 部件 [Aspose.Cells](../../../)

---

## PutValue(object) {#putvalue_4}

将对象值放入单元格中。

```csharp
public void PutValue(object objectValue)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| objectValue | Object | 输入值 |

### 也可以看看

* class [Cell](../../cell)
* 命名空间 [Aspose.Cells](../../cell)
* 部件 [Aspose.Cells](../../../)

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