OCLOperators typename
No edit summary
No edit summary
Line 14: Line 14:
  System.String
  System.String
'''OclType.asString''' returns the same value as '''typeName.'''
'''OclType.asString''' returns the same value as '''typeName.'''
<br />


==== See also: ====
==== See also: ====


* [[Documentation:OCLOperators OclType|OCLOperators OclType]]
* [[Documentation:OCLOperators OclType|OCLOperators OclType]]

Revision as of 05:55, 27 August 2024

This page was created by Alexandra on 2017-08-13. Last edited by Edgar on 2025-01-20.

Returns the data type information of an object as a string.

String.typeName

Returns

System.String

Example:

vStringValue:String='SomeString'
vStringValue.OclType.typeName

Returns

System.String

OclType.asString returns the same value as typeName.

See also:

MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments