VbaProjectReference
VbaProjectReference class
Represents the reference of VBA project.
class VbaProjectReference;
Properties
Property | Type | Description |
---|---|---|
type | VbaProjectReferenceType | Readonly. Gets the type of this reference. |
name | string | Gets and sets the name of the reference. |
libid | string | Gets and sets the Libid of the reference. |
twiddledlibid | string | Gets and sets the twiddled Libid of the reference. |
extendedLibid | string | Gets and sets the extended Libid of the reference. |
relativeLibid | string | Gets and sets the referenced VBA project’s identifier with an relative path. |
Methods
Method | Description |
---|---|
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
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:
Parameter | Type | Description |
---|---|---|
value | string | The 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:
Parameter | Type | Description |
---|---|---|
value | string | The 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:
Parameter | Type | Description |
---|---|---|
value | string | The 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:
Parameter | Type | Description |
---|---|---|
value | string | The 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:
Parameter | Type | Description |
---|---|---|
value | string | The value to set. |
Remarks
Only for project reference.
copy(VbaProjectReference)
copy(source: VbaProjectReference) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
source | VbaProjectReference |
isNull()
Checks whether the implementation object is null.
isNull() : boolean;