get the name of the sketch of the selected body?

Please tell me how to get the name of the sketch of the selected body?

SelectionMgr swSelMgr;

Edge swEdge = null;

Body2 swBody;

string NameBodi;

swSelMgr = swModel.SelectionManager;

swEdge = swSelMgr.GetSelectedObject6(1, -1);

swBody = swEdge.GetBody();

NameBodi = swBody.Name;

SolidworksApi/macros