OCLOperators typename
No edit summary
No edit summary
Line 13: Line 13:
Returns
Returns
  System.String
  System.String
'''OclType.asString''' returns the same value as '''typeName.'''<br />
'''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 03:51, 22 August 2024

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:

This page was edited 23 days ago on 08/27/2024. What links here