Skip to main content

Hidden (Class Keyword)

Specifies whether this class is hidden (not listed in the class reference).

Usage

To make a class hidden, use the following syntax:

Class MyApp.Person [ Hidden ]  { //class members }

Otherwise, omit this keyword or place the word Not immediately before the keyword.

Details

If a class is hidden, it is not listed in the class reference, nor in the ObjectScript Explorer pane when using InterSystems ObjectScript extensionOpens in a new tab for VS Code. (It is still possible, however, to open the class if you have saved it to your local VS Code workspace.)

Effect on Subclasses

This keyword is not inherited.

Default

If you omit this keyword, the class is not hidden.

See Also

FeedbackOpens in a new tab