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


Add a reference to a twiddled type library and its extended type library.

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


| Parameter | Type | Description |
| --- | --- | --- |
| name | const U16String\& | The name of reference. |
| libid | const U16String\& | The identifier of an Automation type library. |
| twiddledlibid | const U16String\& | The identifier of a twiddled type library |
| extendedLibid | const U16String\& | The identifier of an extended 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::AddControlReferernce(const char16_t*, const char16_t*, const char16_t*, const char16_t*) method


Add a reference to a twiddled type library and its extended type library.

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


| Parameter | Type | Description |
| --- | --- | --- |
| name | const char16_t* | The name of reference. |
| libid | const char16_t* | The identifier of an Automation type library. |
| twiddledlibid | const char16_t* | The identifier of a twiddled type library |
| extendedLibid | const char16_t* | The identifier of an extended type library |

## ReturnValue



## See Also

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