VbaProjectReferenceCollection
Source: aspose.
Represents all references of VBA project.
Methods
add()
Reserved for internal use.
addControlRefrernce(name, libid, twiddledlibid, extendedLibid) → Number
Add a reference to a twiddled type library and its extended type library.
Parameters
Name | Type | Optional | Description |
---|---|---|---|
name |
String |
|
The name of reference. |
libid |
String |
|
The identifier of an Automation type library. |
twiddledlibid |
String |
|
The identifier of a twiddled type library |
extendedLibid |
String |
|
The identifier of an extended type library |
- Returns
-
Number
addProjectRefrernce(name, absoluteLibid, relativeLibid) → Number
Adds a reference to an external VBA project.
Parameters
Name | Type | Optional | Description |
---|---|---|---|
name |
String |
|
The name of reference. |
absoluteLibid |
String |
|
The referenced VBA project's identifier with an absolute path. |
relativeLibid |
String |
|
The referenced VBA project's identifier with an relative path. |
- Returns
-
Number
addRegisteredReference(name, libid) → Number
Add a reference to an Automation type library.
Parameters
Name | Type | Optional | Description |
---|---|---|---|
name |
String |
|
The name of reference. |
libid |
String |
|
The identifier of an Automation type library. |
- Returns
-
Number
clear()
contains()
Reserved for internal use.
copy(source)
Copies references from other VBA project.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
source |
|
The source references. |
get(i) → VbaProjectReference
Get the reference in the list by the index.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
i |
Number |
|
The index. |
- Returns
get()
Reserved for internal use.
getCount()
indexOf()
Reserved for internal use.