Do you want the name of the components that a mate applies to
Or are you looking for the MATE REFERENCE that is found in parts and assemblies for faster mating?
Or are you looking for named entities that could a mate may be applied to.
Send all of the code. Mates are very in depth and have lots of accessors and references.
I am afraid I do not understand what you are exactly looking for. Posting an example of what you are expecting for an output would help. I found an example in API help "Get Mates and Mate Entities Example (VBA)" that may return what you need.