VbaProjectReference

VbaProjectReference class

Represents the reference of VBA project.

class VbaProjectReference;

Methods

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

getType()

Gets the type of this reference.

getType() : VbaProjectReferenceType;

Returns

VbaProjectReferenceType

getName()

Gets and sets the name of the reference.

getName() : string;

setName(string)

Gets and sets the name of the reference.

setName(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

getLibid()

Gets and sets the Libid of the reference.

getLibid() : string;

setLibid(string)

Gets and sets the Libid of the reference.

setLibid(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

getTwiddledlibid()

Gets and sets the twiddled Libid of the reference.

getTwiddledlibid() : string;

Remarks

Only for control reference.

setTwiddledlibid(string)

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()

Gets and sets the extended Libid of the reference.

getExtendedLibid() : string;

Remarks

Only for control reference.

setExtendedLibid(string)

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()

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

getRelativeLibid() : string;

Remarks

Only for project reference.

setRelativeLibid(string)

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;