4 Replies Latest reply on Jun 24, 2015 10:11 AM by Steve Soeder

    IEdmVault5.GetFileFromPath - what is ppoRetParentFolder?

    Steve Soeder

      I'm trying to understand what the ppoRetParentFolder argument is used for so I can determine when it is needed or not.

      The documentation says it is optional, but only defines what the object type is, not how it is used or what it is used for.
      The explanation of "0 to not return an interface" doesn't make any sense to me.  What interface is returned otherwise??

      In the example I found they are passing an empty folder object as the argument. I assume then from the name that the return populates the folder object with the folder that contains the file?

      Is this correct?

      Thanks!!

       

       

      Visual Basic (Declaration)
      Function GetFileFromPath( _    ByVal bsFilePath As System.String, _    Optional ByRef ppoRetParentFolder As IEdmFolder5 _ ) As IEdmFile5

      Parameters

      bsFilePath
      File system path to the file for which to get an interface
      ppoRetParentFolder
      IEdmFolder5; 0 to not return an interface