Developer

API Reference

ITRIGMLELEMENT_GetElementName()

deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
Brew Release
Brew MP 1.0.2
See Also
ITRIGMLELEMENT_GetElementMetadata()
Description
Returns the text name of a given element. For example, the name of a element is "group".
This function is intended for tracing. If you wish to test the type of an element, you should call ITRIGMLELEMENT_GetElementClassId() and ITRIGMLELEMENT_GetElementId() instead, and compare the returned values to constants in the extension metadata header.
Note that the name of an element is different from the value of its 'id' attribute.
Parameters
  • po
    []:
    The element for which to query the metadata.
Interface
ITRIGMLELEMENT
Prototype
   const char* ITRIGMLELEMENT_GetElementName(ITrigmlElement* po);
Return
   The element's name.
Comment
None
  • Follow