Attribute Definition/Statement
Syntax
Attribute attributename = value
Attribute varname.attributename = value
Attribute procname.attributename = value
Group
Description
All attribute definitions and statements are ignored except for:
- Form 1: Macro level variable attribute
Public varname As type
Attribute varname.VB_VarUserMemId = 0
Attribute varname.VB_VarHelpID = int
Attribute varname.VB_VarDescription = "text"
VB_VarUserMemID - Declares Public varname as the default property.
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 2: User defined procedure attribute
[Sub | Function | Property [Get|Let|Set]] procname ...
Attribute procname.VB_UserMemId = 0
Attribute procname.VB_HelpID = int
Attribute procname.VB_Description = "text"
...
End [Sub | Function | Property]
VB_UserMemID - Declares Property procname as the default property.
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.