GetName

Category: Objects
Since engine version: 4.6.5.0 CP (extended in 4.9.1.0 GWE)

Description

Asynchronous function
This function may trigger asynchronous behavior or return asynchronous results and must therefore be used with caution. See "Asynchronous functions" description page for more information.
Returns the name of an object or of an object definition. If the object does not have a name of its own, the definition name is returned anyway.

Syntax

string GetName (object pObj, id idDef);

Parameters

pObj:
[optional] Object of which you want to get the name. Can be 0 in local calls.
idDef:
[optional] If specified, the name of the definition is returned instead.
jwk, June 2002