VbaProjectReferenceCollection

VbaProjectReferenceCollection class

Represents all references of VBA project.

Methods

NameDescription
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.

ParameterTypeDescription
nameStringThe name of reference.
libidStringThe identifier of an Automation type library.
twiddledlibidStringThe identifier of a twiddled type library
extendedLibidStringThe identifier of an extended type library

Returns: Number — Number

addProjectRefrernce(name, absoluteLibid, relativeLibid)

Adds a reference to an external VBA project.

ParameterTypeDescription
nameStringThe name of reference.
absoluteLibidStringThe referenced VBA project’s identifier with an absolute path.
relativeLibidStringThe referenced VBA project’s identifier with an relative path.

Returns: Number — Number

addRegisteredReference(name, libid)

Add a reference to an Automation type library.

ParameterTypeDescription
nameStringThe name of reference.
libidStringThe identifier of an Automation type library.

Returns: Number — Number

clear()

contains()

Reserved for internal use.

copy(source)

Copies references from other VBA project.

ParameterTypeDescription
sourceVbaProjectReferenceCollectionThe source references.

get(i)

Get the reference in the list by the index.

ParameterTypeDescription
iNumberThe index.

Returns: VbaProjectReference — VbaProjectReference

get()

Reserved for internal use.

getCount()

indexOf()

Reserved for internal use.

iterator()

removeAt()