How to get parent folder for using MoveToFolder

Hello

How to get parent folder for using MoveToFolder?

How to use MoveToFolder is the following

Function MoveToFolder( _

   ByVal MoveToFeat As System.String, _

   ByVal MoveFromFeat As System.String, _

   ByVal IsFolder As System.Boolean _

) As System.Boolean

I want to get 2th argument more easily.

But I cannot find api to get parent folder of body.

Is there no api? I have to traverse feature tree?

SolidworksApi macros