Partager via


References Members (Access)

The References collection contains Reference objects representing each reference that's currently set.

Methods

Name

Description

AddFromFile

The AddFromFile method creates a reference to a type library in a specified file. .

AddFromGuid

The AddFromGUID method creates a Reference object based on the GUID that identifies a type library. Reference object.

Item

The Item method returns a specific member of a collection either by position or by key. Reference object.

Remove

The Remove method removes a Reference object from the References collection.

Properties

Name

Description

Count

You can use the Count property to determine the number of items in a specified collection. Read-only Long.

Parent

Returns the parent object for the specified object. Read-only.

Events

Name

Description

ItemAdded

The ItemAdded event occurs when a reference is added to the project from Visual Basic.

ItemRemoved

The ItemRemoved event occurs when a reference is removed from the project.