VbaProjectReferenceCollection
Contents
[
Hide
]VbaProjectReferenceCollection class
Represents all references of VBA project.
Methods
| Name | Description |
|---|---|
| add() | Reserved for internal use. |
| addControlRefrernce(name, libid, twiddledlibid, extendedLibid) | Add a reference to a twiddled type library and its extended type library. |
| addProjectRefrernce(name, absoluteLibid, relativeLibid) | Adds a reference to an external VBA project. |
| addRegisteredReference(name, libid) | Add a reference to an Automation type library. |
| clear() | |
| contains() | Reserved for internal use. |
| copy(source) | Copies references from other VBA project. |
| get(i) | Get the reference in the list by the index. |
| get() | Reserved for internal use. |
| getCount() | |
| indexOf() | Reserved for internal use. |
| iterator() | |
| removeAt() |
add()
Reserved for internal use.
addControlRefrernce(name, libid, twiddledlibid, extendedLibid)
Add a reference to a twiddled type library and its extended type library.
| Parameter | Type | 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 — Number
addProjectRefrernce(name, absoluteLibid, relativeLibid)
Adds a reference to an external VBA project.
| Parameter | Type | 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 — Number
addRegisteredReference(name, libid)
Add a reference to an Automation type library.
| Parameter | Type | Description |
|---|---|---|
| name | String | The name of reference. |
| libid | String | The identifier of an Automation type library. |
Returns: Number — Number
clear()
contains()
Reserved for internal use.
copy(source)
Copies references from other VBA project.
| Parameter | Type | Description |
|---|---|---|
| source | VbaProjectReferenceCollection | The source references. |
get(i)
Get the reference in the list by the index.
| Parameter | Type | Description |
|---|---|---|
| i | Number | The index. |
Returns: VbaProjectReference — VbaProjectReference
get()
Reserved for internal use.
getCount()
indexOf()
Reserved for internal use.