
## VbaProjectReference class

Represents the reference of VBA project.

## Methods

| Name | Description |
| --- | --- |
| [copy(source)](#copy) |  |
| [getExtendedLibid()](#getextendedlibid) | Gets and sets the extended Libid of the reference. Only for control reference. |
| [getLibid()](#getlibid) | Gets and sets the Libid of the reference. |
| [getName()](#getname) | Gets and sets the name of the reference. |
| [getRelativeLibid()](#getrelativelibid) | Gets and sets the referenced VBA project's identifier with an relative path. Only for project reference. |
| [getTwiddledlibid()](#gettwiddledlibid) | Gets and sets the twiddled Libid of the reference. Only for control reference. |
| [getType()](#gettype) | Gets the type of this reference. The value of the property is VbaProjectReferenceType integer constant. |
| [setExtendedLibid()](#setextendedlibid) | Gets and sets the extended Libid of the reference. Only for control reference. |
| [setLibid()](#setlibid) | Gets and sets the Libid of the reference. |
| [setName()](#setname) | Gets and sets the name of the reference. |
| [setRelativeLibid()](#setrelativelibid) | Gets and sets the referenced VBA project's identifier with an relative path. Only for project reference. |
| [setTwiddledlibid()](#settwiddledlibid) | Gets and sets the twiddled Libid of the reference. Only for control reference. |

### copy(source) {#copy}

| Parameter | Type | Description |
| --- | --- | --- |
| source | VbaProjectReference |  |

### getExtendedLibid() {#getextendedlibid}

Gets and sets the extended Libid of the reference. Only for control reference.

### getLibid() {#getlibid}

Gets and sets the Libid of the reference.

### getName() {#getname}

Gets and sets the name of the reference.

### getRelativeLibid() {#getrelativelibid}

Gets and sets the referenced VBA project's identifier with an relative path. Only for project reference.

### getTwiddledlibid() {#gettwiddledlibid}

Gets and sets the twiddled Libid of the reference. Only for control reference.

### getType() {#gettype}

Gets the type of this reference. The value of the property is VbaProjectReferenceType integer constant.

### setExtendedLibid() {#setextendedlibid}

Gets and sets the extended Libid of the reference. Only for control reference.

### setLibid() {#setlibid}

Gets and sets the Libid of the reference.

### setName() {#setname}

Gets and sets the name of the reference.

### setRelativeLibid() {#setrelativelibid}

Gets and sets the referenced VBA project's identifier with an relative path. Only for project reference.

### setTwiddledlibid() {#settwiddledlibid}

Gets and sets the twiddled Libid of the reference. Only for control reference.
