VbaModule
VbaModule class
Represents the module in VBA project.
class VbaModule;
Properties
Property | Type | Description |
---|---|---|
name | string | Gets and sets the name of Module. |
type | VbaModuleType | Readonly. Gets the type of module. |
binaryCodes | Uint8Array | Readonly. Gets and sets the binary codes of module. |
codes | string | Gets and sets the codes of module. |
Methods
Method | Description |
---|---|
getName() | @deprecated. Please use the ’name’ property instead. Gets and sets the name of Module. |
setName(string) | @deprecated. Please use the ’name’ property instead. Gets and sets the name of Module. |
getType() | @deprecated. Please use the ’type’ property instead. Gets the type of module. |
getBinaryCodes() | @deprecated. Please use the ‘binaryCodes’ property instead. Gets and sets the binary codes of module. |
getCodes() | @deprecated. Please use the ‘codes’ property instead. Gets and sets the codes of module. |
setCodes(string) | @deprecated. Please use the ‘codes’ property instead. Gets and sets the codes of module. |
isNull() | Checks whether the implementation object is null. |
name
Gets and sets the name of Module.
name : string;
type
Readonly. Gets the type of module.
type : VbaModuleType;
binaryCodes
Readonly. Gets and sets the binary codes of module.
binaryCodes : Uint8Array;
codes
Gets and sets the codes of module.
codes : string;
getName()
@deprecated. Please use the ’name’ property instead. Gets and sets the name of Module.
getName() : string;
setName(string)
@deprecated. Please use the ’name’ property instead. Gets and sets the name of Module.
setName(value: string) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | string | The value to set. |
getType()
@deprecated. Please use the ’type’ property instead. Gets the type of module.
getType() : VbaModuleType;
Returns
getBinaryCodes()
@deprecated. Please use the ‘binaryCodes’ property instead. Gets and sets the binary codes of module.
getBinaryCodes() : Uint8Array;
getCodes()
@deprecated. Please use the ‘codes’ property instead. Gets and sets the codes of module.
getCodes() : string;
setCodes(string)
@deprecated. Please use the ‘codes’ property instead. Gets and sets the codes of module.
setCodes(value: string) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | string | The value to set. |
isNull()
Checks whether the implementation object is null.
isNull() : boolean;