docs.intersystems.com
Home  /  Application Development: Core Topics  /  Class Definition Reference  /  Class Keywords  /  ClientDataType


Class Definition Reference
ClientDataType
[Back]  [Next] 
InterSystems: The power behind what matters   
Search:  


Specifies the client data type used when this data type is projected to client technologies. Applies only to data type classes.
Usage
To specify the client data type to use when this data type is projected to client technologies, use the following syntax:
Class MyApp.MyString [ ClientDataType = clienttype ]  { //class members }
Where clienttype is one of the following:
Details
This keyword specifies the client data type used when this class is projected to client technologies. Every data type class must specify a client data type.
Effect on Subclasses
This keyword is inherited from the primary superclass. The subclass can override the value of the keyword.
Default
The default client data type is VARCHAR.
See Also