Keyword

# Public

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

## Description

Used to indicate the most accessible scope for a members of classes and modules. <span class="title-ref">Public</span> members can be accessed from outside the class or module.

## Notes

You do not directly use this keyword in your Xojo code. You set scope in the Inspector for the item.

## Compatibility

|                       |     |
|-----------------------|-----|
| **Project Types**     | All |
| **Operating Systems** | All |

<div class="seealso">

`Private</api/language/private>`, `Protected</api/language/protected>` keywords

</div>
