.Symbol (gb)
This virtual class represents a symbol definition.
This class is virtual.
This class is not creatable.
Properties
Hidden
|
Returns TRUE if a symbol is hidden.
|
Kind
|
Returns one of the following constants:
|
Name
|
Returns the name of the symbol.
|
ReadOnly
|
Returns TRUE if the symbol is read-only, i.e. if it is a constant or if the read-only property has been set.
|
Signature
|
Returns the signature of the symbol if it is a method or an event.
|
Static
|
Returns TRUE if the symbol is static.
|
Type
|
Returns the datatype of the symbol.
|
Value
|
Returns the value of the symbol if it is a constant.
|
Note: this class is purely virtual and no "Symbol" or ".Symbol" object exists but these properties can be accesed via the
Classes array.
For example...
For Each sSymbol As String In Classes["Form"].Symbols
With Classes["Form"][sSymbol]
Print .Name;; .Kind;; .Type;; .Value
End With
Next