# OfficeVbaReference

A VBA library reference; unknown/control/project reference records remain opaque and preserved.

Class 

`OfficeIMO`

**Namespace**

`OfficeIMO`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`15caddadea70` with working tree changes

**Source**

[OfficeVbaModels.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.Core/Documents/Vba/OfficeVbaModels.cs#L40)

**Modifiers**

sealed

A VBA library reference; unknown/control/project reference records remain opaque and preserved.

## Inheritance

- object
- OfficeVbaReference

## Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 2

- Method [OfficeVbaProject.AddRegisteredReference](/api/core/officeimo-officevbaproject/#method-addregisteredreference-string-guid-int32-int32-string)
- Property [OfficeVbaProject.References](/api/core/officeimo-officevbaproject/#property-references)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Name { get; }` [#](#property-name)

[OfficeVbaModels.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.Core/Documents/Vba/OfficeVbaModels.cs#L40)

Gets the reference name when the file supplies one.

`public string? LibraryId { get; }` [#](#property-libraryid)

[OfficeVbaModels.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.Core/Documents/Vba/OfficeVbaModels.cs#L42)

Gets a registered type-library identifier, or null for another reference kind.

<!-- PowerForge markdown artifact sha256:B4D24E2CFBC35C4DE0C9CC962DDFADD181D19422E04D3198465E8973EEBB339D -->
