## GetFormula2(bool, bool) {#getformula2}

获取与此验证关联的值或表达式。

```csharp
public string GetFormula2(bool isR1C1, bool isLocal)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| isR1C1 | Boolean | 公式是否需要格式化为 R1C1。 |
| isLocal | Boolean | 公式是否需要按语言环境格式化。 |

### 返回值

与此验证关联的值或表达式。

### 也可以看看

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

---

## GetFormula2(bool, bool, int, int) {#getformula2_1}

获取与特定单元格的此验证关联的值或表达式。

```csharp
public string GetFormula2(bool isR1C1, bool isLocal, int row, int column)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| isR1C1 | Boolean | 公式是否需要格式化为 R1C1。 |
| isLocal | Boolean | 公式是否需要按语言环境格式化。 |
| row | Int32 | 行索引。 |
| column | Int32 | 列索引。 |

### 返回值

与此验证关联的值或表达式。

### 也可以看看

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

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