AnsweredAssumed Answered

IEdmVault5.GetFileFromPath - what is ppoRetParentFolder?

Question asked by Steven Soeder on Jun 23, 2015
Latest reply on Jun 24, 2015 by Steven 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?




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


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