Document manager API and component names

Using the document manager API, how can I get the component names in an assembly as they appear in the feature manager tree in Solidworks? For example:

In order to be useful in my application I need the component names as it is in the component properties within SW.

How do I get there with the DM API?

SolidworksApi macros