## VbaProjectReferenceCollection::AddRegisteredReference(const U16String\&, const U16String\&) method


Add a reference to an Automation type library.

```cpp
int32_t Aspose::Cells::Vba::VbaProjectReferenceCollection::AddRegisteredReference(const U16String &name, const U16String &libid)
```


| Parameter | Type | Description |
| --- | --- | --- |
| name | const U16String\& | The name of reference. |
| libid | const U16String\& | The identifier of an Automation type library. |

## ReturnValue



## See Also

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


Add a reference to an Automation type library.

```cpp
int32_t Aspose::Cells::Vba::VbaProjectReferenceCollection::AddRegisteredReference(const char16_t *name, const char16_t *libid)
```


| Parameter | Type | Description |
| --- | --- | --- |
| name | const char16_t* | The name of reference. |
| libid | const char16_t* | The identifier of an Automation type library. |

## ReturnValue



## See Also

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