VbaProjectReference

VbaProjectReference class

Represents the reference of VBA project.

class VbaProjectReference;

Properties

PropertyTypeDescription
typeVbaProjectReferenceTypeReadonly. Gets the type of this reference.
namestringGets and sets the name of the reference.
libidstringGets and sets the Libid of the reference.
twiddledlibidstringGets and sets the twiddled Libid of the reference.
extendedLibidstringGets and sets the extended Libid of the reference.
relativeLibidstringGets and sets the referenced VBA project’s identifier with an relative path.

Methods

MethodDescription
getType()@deprecated. Please use the ’type’ property instead. Gets the type of this reference.
getName()@deprecated. Please use the ’name’ property instead. Gets and sets the name of the reference.
setName(string)@deprecated. Please use the ’name’ property instead. Gets and sets the name of the reference.
getLibid()@deprecated. Please use the ’libid’ property instead. Gets and sets the Libid of the reference.
setLibid(string)@deprecated. Please use the ’libid’ property instead. Gets and sets the Libid of the reference.
getTwiddledlibid()@deprecated. Please use the ’twiddledlibid’ property instead. Gets and sets the twiddled Libid of the reference.
setTwiddledlibid(string)@deprecated. Please use the ’twiddledlibid’ property instead. Gets and sets the twiddled Libid of the reference.
getExtendedLibid()@deprecated. Please use the ’extendedLibid’ property instead. Gets and sets the extended Libid of the reference.
setExtendedLibid(string)@deprecated. Please use the ’extendedLibid’ property instead. Gets and sets the extended Libid of the reference.
getRelativeLibid()@deprecated. Please use the ‘relativeLibid’ property instead. Gets and sets the referenced VBA project’s identifier with an relative path.
setRelativeLibid(string)@deprecated. Please use the ‘relativeLibid’ property instead. Gets and sets the referenced VBA project’s identifier with an relative path.
copy(VbaProjectReference)
isNull()Checks whether the implementation object is null.

type

Readonly. Gets the type of this reference.

type : VbaProjectReferenceType;

name

Gets and sets the name of the reference.

name : string;

libid

Gets and sets the Libid of the reference.

libid : string;

twiddledlibid

Gets and sets the twiddled Libid of the reference.

twiddledlibid : string;

Remarks

Only for control reference.

extendedLibid

Gets and sets the extended Libid of the reference.

extendedLibid : string;

Remarks

Only for control reference.

relativeLibid

Gets and sets the referenced VBA project’s identifier with an relative path.

relativeLibid : string;

Remarks

Only for project reference.

getType()

@deprecated. Please use the ’type’ property instead. Gets the type of this reference.

getType() : VbaProjectReferenceType;

Returns

VbaProjectReferenceType

getName()

@deprecated. Please use the ’name’ property instead. Gets and sets the name of the reference.

getName() : string;

setName(string)

@deprecated. Please use the ’name’ property instead. Gets and sets the name of the reference.

setName(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

getLibid()

@deprecated. Please use the ’libid’ property instead. Gets and sets the Libid of the reference.

getLibid() : string;

setLibid(string)

@deprecated. Please use the ’libid’ property instead. Gets and sets the Libid of the reference.

setLibid(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

getTwiddledlibid()

@deprecated. Please use the ’twiddledlibid’ property instead. Gets and sets the twiddled Libid of the reference.

getTwiddledlibid() : string;

Remarks

Only for control reference.

setTwiddledlibid(string)

@deprecated. Please use the ’twiddledlibid’ property instead. Gets and sets the twiddled Libid of the reference.

setTwiddledlibid(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

Remarks

Only for control reference.

getExtendedLibid()

@deprecated. Please use the ’extendedLibid’ property instead. Gets and sets the extended Libid of the reference.

getExtendedLibid() : string;

Remarks

Only for control reference.

setExtendedLibid(string)

@deprecated. Please use the ’extendedLibid’ property instead. Gets and sets the extended Libid of the reference.

setExtendedLibid(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

Remarks

Only for control reference.

getRelativeLibid()

@deprecated. Please use the ‘relativeLibid’ property instead. Gets and sets the referenced VBA project’s identifier with an relative path.

getRelativeLibid() : string;

Remarks

Only for project reference.

setRelativeLibid(string)

@deprecated. Please use the ‘relativeLibid’ property instead. Gets and sets the referenced VBA project’s identifier with an relative path.

setRelativeLibid(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

Remarks

Only for project reference.

copy(VbaProjectReference)

copy(source: VbaProjectReference) : void;

Parameters:

ParameterTypeDescription
sourceVbaProjectReference

isNull()

Checks whether the implementation object is null.

isNull() : boolean;