Skip to main content

Hidden (Class Keyword)

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


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.


If a class is hidden, it is not listed in the class reference, nor in the Workspace window of the InterSystems Studio Inspector, nor in the ObjectScript Explorer pane when using InterSystems ObjectScript extension for Visual Studio Code. (It is still possible, however, to open the class in Studio, if you type its name in the Open dialog box, or if you have saved it to your local workspace when using VS Code - ObjectScript.)

Effect on Subclasses

This keyword is not inherited.


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

See Also

FeedbackOpens in a new tab