## SmartTagCollection::Add(const U16String\&, const U16String\&) method


Adds a smart tag.

```cpp
int32_t Aspose::Cells::Markup::SmartTagCollection::Add(const U16String &uri, const U16String &name)
```


| Parameter | Type | Description |
| --- | --- | --- |
| uri | const U16String\& | Specifies the namespace URI of the smart tag |
| name | const U16String\& | Specifies the name of the smart tag. |

## ReturnValue

The index of smart tag in the list.

## See Also

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


Adds a smart tag.

```cpp
int32_t Aspose::Cells::Markup::SmartTagCollection::Add(const char16_t *uri, const char16_t *name)
```


| Parameter | Type | Description |
| --- | --- | --- |
| uri | const char16_t* | Specifies the namespace URI of the smart tag |
| name | const char16_t* | Specifies the name of the smart tag. |

## ReturnValue

The index of smart tag in the list.

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [SmartTagCollection](../)
* Namespace [Aspose::Cells::Markup](../../)
* Library [Aspose.Cells for C++](../../../)
