## SetFormula(string, object) {#setformula_2}

Définissez la formule et la valeur de la formule.

```csharp
public void SetFormula(string formula, object value)
```

| Paramètre | Taper | La description |
| --- | --- | --- |
| formula | String | La formule. |
| value | Object | La valeur de la formule. |

### Voir également

* class [Cell](../../cell)
* espace de noms [Aspose.Cells](../../cell)
* Assemblée [Aspose.Cells](../../../)

---

## SetFormula(string, FormulaParseOptions, object) {#setformula}

Définissez la formule et la valeur de la formule.

```csharp
public void SetFormula(string formula, FormulaParseOptions options, object value)
```

| Paramètre | Taper | La description |
| --- | --- | --- |
| formula | String | La formule. |
| options | FormulaParseOptions | Options d'analyse de la formule. |
| value | Object | La valeur de la formule. |

### Voir également

* class [FormulaParseOptions](../../formulaparseoptions)
* class [Cell](../../cell)
* espace de noms [Aspose.Cells](../../cell)
* Assemblée [Aspose.Cells](../../../)

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