From Xojo Documentation
Class (inherits from Object)
| This class is only available on the macOS platform.
For cross-platform compatibility, use ＃If...＃Endif with the Target... specifiers to make sure you will not attempt to use this class on an incompatible platform.
A template object for creating AppleEvent objects.