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
Look at the method declarations for C# and C++ in the documentation, it tells you if the parameters are input or output.