## ConditionalFormattingValueCollection.Add method

Agrega[`ConditionalFormattingValue`](../../conditionalformattingvalue) objeto.

```csharp
public int Add(FormatConditionValueType type, string value)
```

| Parámetro | Escribe | Descripción |
| --- | --- | --- |
| type | FormatConditionValueType | El tipo de valor. |
| value | String | El valor. |

### Valor_devuelto

Devuelve el índice del nuevo objeto en la lista.

### Ver también

* enum [FormatConditionValueType](../../formatconditionvaluetype)
* class [ConditionalFormattingValueCollection](../../conditionalformattingvaluecollection)
* espacio de nombres [Aspose.Cells](../../conditionalformattingvaluecollection)
* asamblea [Aspose.Cells](../../../)

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