Declared Element Qualities

There are four possible qualities of a declared element that have an effect on how code interacts with it. All declared elements have at least one of these qualities.

Qualities by element

The table that follows shows the declared elements and if a quality is applicable.

Element Data typeLifetimeScopeAccess level
Variable YesYesYesYes
Constant YesNoYesYes
Enumeration YesNoYesYes
Struct NoNoYesYes
Property YesYesYesYes
Method NoYesYesYes
Sub/Function NoYesYesYes
Procedure parameter YesYesYesNo
Function/Method return YesYesYesNo
Trait NoNoYesYes
Class NoNoYesYes
Event NoNoYesYes

See also