To specify that the property is private, use the following syntax:
Property name As classname [ Private ];
Otherwise, omit this keyword or place the word Not immediately before the keyword.
A private class member can only be used by methods of this class (or its subclasses).
A private property is not displayed in the catalog information (accessed by using %Library.SQLCatalogOpens in a new window) and is not returned by a SELECT * query. However, you can explicitly refer to and use a private property in an SQL query.
Subclasses inherit the value of the Private keyword and cannot override it.
In InterSystems IRIS, private properties are always inherited and visible to subclasses of the class that defines the property; other languages often call these protected properties.
If you omit this keyword, this property is not private.
“Property Definitions” in this book
“Defining and Using Literal Properties” in Defining and Using Classes
“Working with Collections” in Defining and Using Classes
“Working with Streams” in Defining and Using Classes
“Defining and Using Object-Valued Properties” in Defining and Using Classes
“Defining and Using Relationships” in Defining and Using Classes
“Introduction to Compiler Keywords” in Defining and Using Classes