## OdsCellFieldCollection::Add(int32_t, int32_t, OdsCellFieldType, const U16String\&) method


Adds a field.

```cpp
int32_t Aspose::Cells::Ods::OdsCellFieldCollection::Add(int32_t row, int32_t column, OdsCellFieldType fieldType, const U16String &format)
```


| Parameter | Type | Description |
| --- | --- | --- |
| row | int32_t | The row index. |
| column | int32_t | The column index. |
| fieldType | OdsCellFieldType | The type of the field. |
| format | const U16String\& | The number format of the field. |

## ReturnValue



## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Enum [OdsCellFieldType](../../odscellfieldtype/)
* Class [U16String](../../../aspose.cells/u16string/)
* Class [OdsCellFieldCollection](../)
* Namespace [Aspose::Cells::Ods](../../)
* Library [Aspose.Cells for C++](../../../)
## OdsCellFieldCollection::Add(int32_t, int32_t, OdsCellFieldType, const char16_t*) method


Adds a field.

```cpp
int32_t Aspose::Cells::Ods::OdsCellFieldCollection::Add(int32_t row, int32_t column, OdsCellFieldType fieldType, const char16_t *format)
```


| Parameter | Type | Description |
| --- | --- | --- |
| row | int32_t | The row index. |
| column | int32_t | The column index. |
| fieldType | OdsCellFieldType | The type of the field. |
| format | const char16_t* | The number format of the field. |

## ReturnValue



## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Enum [OdsCellFieldType](../../odscellfieldtype/)
* Class [OdsCellFieldCollection](../)
* Namespace [Aspose::Cells::Ods](../../)
* Library [Aspose.Cells for C++](../../../)
