@Open

Specifies that a declared element can be inherited or overridden by a derived class.

Instructions

Describe

Rules

Mixed modifiers
You cannot put @Open together with @Shared, @Abstract, or @Override in the same declaration.
Subclassing
You can derive a subclass only from a class that is @Open or @Abstract.
Declaration contexts
You can declare open methods and properties only within a open class.

Applies to

Examples

@Open Class MyBaseClass
  @Open Method MyMethod
  End Method
End Class

Class MyDerivedClass Is MyBaseClass
  @Override Method MyMethod
  End Method
End Class