docs.intersystems.com
InterSystems IRIS Data Platform 2019.2  /  Class Definition Reference  /  Method Keywords

Class Definition Reference
ClientName
Previous section           Next section
InterSystems: The power behind what matters   
Search:  


Overrides the default name for the method in client projections.
Usage
To override the default name for this method when the class is projected to a client language, use the following syntax:
Method name(formal_spec) As returnclass [ ClientName = clientname ] 
{    //implementation }
Where clientname is the name to use in the client language.
Details
This keyword lets you define an alternate name for a method when it is projected to a client language. This is especially useful if the method name contains characters that are not allowed in the client language.
Default
If you omit this keyword, the method name is used as the client name.
See Also


Previous section           Next section
Send us comments on this page
View this book as PDF   |  Download all PDFs
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-10-14 06:57:37