## ConditionalFormattingValueCollection::Add(FormatConditionValueType, const U16String\&) method


Adds [ConditionalFormattingValue](../../conditionalformattingvalue/) object.

```cpp
int32_t Aspose::Cells::ConditionalFormattingValueCollection::Add(FormatConditionValueType type, const U16String &value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| type | FormatConditionValueType | The value type. |
| value | const U16String\& | The value. |

## ReturnValue

Returns the index of new object in the list.

## See Also

* Class [Vector](../../vector/)
* Enum [FormatConditionValueType](../../formatconditionvaluetype/)
* Class [U16String](../../u16string/)
* Class [ConditionalFormattingValueCollection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## ConditionalFormattingValueCollection::Add(FormatConditionValueType, const char16_t*) method


Adds [ConditionalFormattingValue](../../conditionalformattingvalue/) object.

```cpp
int32_t Aspose::Cells::ConditionalFormattingValueCollection::Add(FormatConditionValueType type, const char16_t *value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| type | FormatConditionValueType | The value type. |
| value | const char16_t* | The value. |

## ReturnValue

Returns the index of new object in the list.

## See Also

* Class [Vector](../../vector/)
* Enum [FormatConditionValueType](../../formatconditionvaluetype/)
* Class [ConditionalFormattingValueCollection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
