SOLIDWORKS PDM Professional API Help Send Feedback
GetFileFromPath Method (IEdmVault5)
See Also  Example
EPDM.Interop.epdm Namespace > IEdmVault5 Interface : GetFileFromPath Method (IEdmVault5)


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

Syntax

Visual Basic 
Function GetFileFromPath( _
   ByVal bsFilePath As System.String, _
   Optional ByRef ppoRetParentFolder As IEdmFolder5 _
) As IEdmFile5
C# 
IEdmFile5 GetFileFromPath( 
   System.string bsFilePath,
   out IEdmFolder5 ppoRetParentFolder
)
C++/CLI 
IEdmFile5^ GetFileFromPath( 
&   System.String^ bsFilePath,
&   [Out] IEdmFolder5^ ppoRetParentFolder
) 

Parameters

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

Return Value

IEdmFile5; Null if file specified in bsFilePath does not exist

Example

Remarks

Return codes: 

 

See Also

Availability

SOLIDWORKS PDM Professional Version 5.2