See Also: Class Member Meta-Data Tags
Used by Studio CodeSense and designers to determine how a class member of the current class should be exposed.
Properties, Procedures and Functions
{ Visibility=Private | Public }
where Public is the default. If this meta-data tag is not used, the property, procedure or function will be public.
This meta-data tag can be set to Private to "hide" a class member from all Studio design time access, including the Object Properties window and CodeSense.
If you want to "hide" a property only from the Object Properties window, but allow it to still be visible in CodeSense, use the DesignTime meta-data tag.
To indicate that a class method or property is private, add the Visibility meta-data tag above the method or property declaration line.
Class cContact is a cObject
Procedure Construct_Object
forward send Construct_Object
{ Visibility=Private }
Property String psPrivateFirstName
End_Procedure
{ MethodType=Property }
Procedure Set psFirstName String sFirstName
set psPrivateFirstName to "John"
End_Procedure
End_Class
The Visibility class member meta-data tag is inherited. If a superclass property or method is flagged as private, the same property or method in subclasses of that class will be flagged as private, unless it is explicitly flagged public in that subclass.