VbaProjectReferenceCollectionAddRegisteredReference Method

Add a reference to an Automation type library.

Namespace:  Aspose.Cells.Vba
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 21.6.0.0 (21.6)
Syntax
public int AddRegisteredReference(
	string name,
	string libid
)

Parameters

name
Type: SystemString
The name of reference.
libid
Type: SystemString
The identifier of an Automation type library.

Return Value

Type: Int32
See Also