Syntax
| Attribute attributename = value
Attribute varname.attributename = value
Attribute procname.attributename = value
|
---|---|
Description
| All attribute definitions and statements are ignored except for:
• Form 1: Module level attribute
Attribute VB_Name = "name"VB_Name - Declares the name of the class module or object module. VB_GlobalNameSpace - Declares the class module as a global class.
(ignored)
VB_Creatable - Declares the module as creatable (True), non-creatable
(False). (ignored)
VB_PredeclaredId - Declares the module as a predeclared identifier
(True). (ignored)
VB_Exposed - Declares the module as public (True). (ignored)
VB_HelpID - Declares the module's help context displayed by the object
browser.
VB_Description - Declares the module's help text displayed by the
object browser.
• Form 2: Macro/Module level variable attribute
Public varname As TypeVB_VarUserMemID - Declares Public varname as the default property for a class module or object module.
VB_VarHelpID - Declares the variable's help context displayed by the
object browser.
VB_VarDescription - Declares the variable's help text displayed by the
object browser.
• Form 3: User defined procedure attribute
[Sub | Function | Property [Get|Let|Set]] procname ...VB_UserMemID - Declares Property procname as the default property for a class module or object module.
VB_HelpID - Declares the procedure's help context displayed by the
object browser.
VB_Description - Declares the procedure's help text displayed by the
object browser.
|
See Also
|