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


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


>Deprecated
>
>Use VbaProjectReferenceCollection.AddControlReferernce() method instead. 
```cpp
int32_t Aspose::Cells::Vba::VbaProjectReferenceCollection::AddControlRefrernce(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


## Remarks



NOTE: This method is now obsolete. Instead, please use [VbaProjectReferenceCollection.AddControlReferernce()](../addcontrolreferernce/) method. This method will be removed 12 months later since July 2026. **Aspose** apologizes for any inconvenience you may have experienced.


## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [U16String](../../../aspose.cells/u16string/)
* Class [VbaProjectReferenceCollection](../)
* Namespace [Aspose::Cells::Vba](../../)
* Library [Aspose.Cells for C++](../../../)
## VbaProjectReferenceCollection::AddControlRefrernce(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.


>Deprecated
>
>Use VbaProjectReferenceCollection.AddControlReferernce() method instead. 
```cpp
int32_t Aspose::Cells::Vba::VbaProjectReferenceCollection::AddControlRefrernce(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


## Remarks



NOTE: This method is now obsolete. Instead, please use [VbaProjectReferenceCollection.AddControlReferernce()](../addcontrolreferernce/) method. This method will be removed 12 months later since July 2026. **Aspose** apologizes for any inconvenience you may have experienced.


## See Also

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