## HtmlTableLoadOptionCollection::Add(const HtmlTableLoadOption\&) method


Adds one [HtmlTableLoadOption](../../htmltableloadoption/) into this collection.


>Deprecated
>
>Use HtmlTableLoadOptionCollection.AddTableLoadOption(HtmlTableLoadOption) method instead. 
```cpp
int32_t Aspose::Cells::HtmlTableLoadOptionCollection::Add(const HtmlTableLoadOption &item)
```


| Parameter | Type | Description |
| --- | --- | --- |
| item | const HtmlTableLoadOption\& | one [HtmlTableLoadOption](../../htmltableloadoption/) |

## ReturnValue

the index of the added item
## Remarks



NOTE: This member is now obsolete. Instead, please use [AddTableLoadOption()](../addtableloadoption/) method. This method will be removed 6 months later since December 2025. **Aspose** apologizes for any inconvenience you may have experienced.


## See Also

* Class [Vector](../../vector/)
* Class [HtmlTableLoadOption](../../htmltableloadoption/)
* Class [HtmlTableLoadOptionCollection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## HtmlTableLoadOptionCollection::Add(int32_t) method


Add a [HtmlTableLoadOption](../../htmltableloadoption/) to the list.

```cpp
int32_t Aspose::Cells::HtmlTableLoadOptionCollection::Add(int32_t tableIndex)
```


| Parameter | Type | Description |
| --- | --- | --- |
| tableIndex | int32_t | Table index |

## ReturnValue



## See Also

* Class [Vector](../../vector/)
* Class [HtmlTableLoadOptionCollection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## HtmlTableLoadOptionCollection::Add(const U16String\&) method


Add a [HtmlTableLoadOption](../../htmltableloadoption/) to the list.

```cpp
int32_t Aspose::Cells::HtmlTableLoadOptionCollection::Add(const U16String &tableId)
```


| Parameter | Type | Description |
| --- | --- | --- |
| tableId | const U16String\& | Table ID |

## ReturnValue



## See Also

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


Add a [HtmlTableLoadOption](../../htmltableloadoption/) to the list.

```cpp
int32_t Aspose::Cells::HtmlTableLoadOptionCollection::Add(const char16_t *tableId)
```


| Parameter | Type | Description |
| --- | --- | --- |
| tableId | const char16_t* | Table ID |

## ReturnValue



## See Also

* Class [Vector](../../vector/)
* Class [HtmlTableLoadOptionCollection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## HtmlTableLoadOptionCollection::Add(int32_t, int32_t) method


Add a [HtmlTableLoadOption](../../htmltableloadoption/) to the list.

```cpp
int32_t Aspose::Cells::HtmlTableLoadOptionCollection::Add(int32_t tableIndex, int32_t targetSheetIndex)
```


| Parameter | Type | Description |
| --- | --- | --- |
| tableIndex | int32_t | Table index |
| targetSheetIndex | int32_t | The target index of worksheet in Excel |

## See Also

* Class [Vector](../../vector/)
* Class [HtmlTableLoadOptionCollection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## HtmlTableLoadOptionCollection::Add(const U16String\&, int32_t) method


Add a [HtmlTableLoadOption](../../htmltableloadoption/) to the list.

```cpp
int32_t Aspose::Cells::HtmlTableLoadOptionCollection::Add(const U16String &tableId, int32_t targetSheetIndex)
```


| Parameter | Type | Description |
| --- | --- | --- |
| tableId | const U16String\& | Table ID |
| targetSheetIndex | int32_t | The target index of worksheet in Excel |

## ReturnValue



## See Also

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


Add a [HtmlTableLoadOption](../../htmltableloadoption/) to the list.

```cpp
int32_t Aspose::Cells::HtmlTableLoadOptionCollection::Add(const char16_t *tableId, int32_t targetSheetIndex)
```


| Parameter | Type | Description |
| --- | --- | --- |
| tableId | const char16_t* | Table ID |
| targetSheetIndex | int32_t | The target index of worksheet in Excel |

## ReturnValue



## See Also

* Class [Vector](../../vector/)
* Class [HtmlTableLoadOptionCollection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## HtmlTableLoadOptionCollection::Add(int32_t, int32_t, int32_t) method


Add a [HtmlTableLoadOption](../../htmltableloadoption/) to the list.

```cpp
int32_t Aspose::Cells::HtmlTableLoadOptionCollection::Add(int32_t tableIndex, int32_t targetSheetIndex, int32_t originalSheetIndex)
```


| Parameter | Type | Description |
| --- | --- | --- |
| tableIndex | int32_t | Table index |
| targetSheetIndex | int32_t | The target index of worksheet in Excel |
| originalSheetIndex | int32_t | The original index of worksheet in the html |

## See Also

* Class [Vector](../../vector/)
* Class [HtmlTableLoadOptionCollection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## HtmlTableLoadOptionCollection::Add(const U16String\&, int32_t, int32_t) method


Add a [HtmlTableLoadOption](../../htmltableloadoption/) to the list.

```cpp
int32_t Aspose::Cells::HtmlTableLoadOptionCollection::Add(const U16String &tableId, int32_t targetSheetIndex, int32_t originalSheetIndex)
```


| Parameter | Type | Description |
| --- | --- | --- |
| tableId | const U16String\& | Table ID |
| targetSheetIndex | int32_t | The target index of worksheet in Excel |
| originalSheetIndex | int32_t | The original index of worksheet in the html |

## ReturnValue



## See Also

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


Add a [HtmlTableLoadOption](../../htmltableloadoption/) to the list.

```cpp
int32_t Aspose::Cells::HtmlTableLoadOptionCollection::Add(const char16_t *tableId, int32_t targetSheetIndex, int32_t originalSheetIndex)
```


| Parameter | Type | Description |
| --- | --- | --- |
| tableId | const char16_t* | Table ID |
| targetSheetIndex | int32_t | The target index of worksheet in Excel |
| originalSheetIndex | int32_t | The original index of worksheet in the html |

## ReturnValue



## See Also

* Class [Vector](../../vector/)
* Class [HtmlTableLoadOptionCollection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
