Sketch Segments

How do I get the names of the sketch segments as I create them?

SolidworksApi macros