Skip to main content

Hidden

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 }
Copy code to clipboard

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 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.

Default

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

See Also

FeedbackOpens in a new window