C# How to get edge ID from mate?

I want to get edge ID or Face ID from mate.

I have already got mate reference type in integer.

For example, I use IMateEntity2.ReferenceType2.

But it returns the type of mate reference.

Please teach me how to get edge ID or Face ID from mate.

SolidworksApi macros