Learning
Community
Open Exchange
Global Masters
InterSystems IRIS Data Platform 2019.4 / Application Development / Class Definition Reference / Method Keywords / ClientName
Previous section   Next section

ClientName

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