Aspose::Cells::Vba::VbaProjectReferenceCollection::AddProjectRefrernce method

VbaProjectReferenceCollection::AddProjectRefrernce(const U16String&, const U16String&, const U16String&) method

Adds a reference to an external VBA project.

Deprecated

Use VbaProjectReferenceCollection.AddProjectReferernce() method instead.

int32_t Aspose::Cells::Vba::VbaProjectReferenceCollection::AddProjectRefrernce(const U16String &name, const U16String &absoluteLibid, const U16String &relativeLibid)
ParameterTypeDescription
nameconst U16String&The name of reference.
absoluteLibidconst U16String&The referenced VBA project’s identifier with an absolute path.
relativeLibidconst U16String&The referenced VBA project’s identifier with an relative path.

ReturnValue

Remarks

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

See Also

VbaProjectReferenceCollection::AddProjectRefrernce(const char16_t*, const char16_t*, const char16_t*) method

Adds a reference to an external VBA project.

Deprecated

Use VbaProjectReferenceCollection.AddProjectReferernce() method instead.

int32_t Aspose::Cells::Vba::VbaProjectReferenceCollection::AddProjectRefrernce(const char16_t *name, const char16_t *absoluteLibid, const char16_t *relativeLibid)
ParameterTypeDescription
nameconst char16_t*The name of reference.
absoluteLibidconst char16_t*The referenced VBA project’s identifier with an absolute path.
relativeLibidconst char16_t*The referenced VBA project’s identifier with an relative path.

ReturnValue

Remarks

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

See Also