| Visual Basic | |
|---|---|
Function GetLocalPath( _ ByVal lParentFolderID As System.Integer _ ) As System.String | |
| C# | |
|---|---|
System.string GetLocalPath( System.int lParentFolderID ) | |
| C++/CLI | |
|---|---|
System.String^ GetLocalPath( & System.int lParentFolderID ) | |
Parameters
- lParentFolderID
- ID of parent folder (see Remarks)
Return Value
Full path to this file in the parent folderThis method does not verify the existence of the file in lParentFolderID. It only concatenates the path of the specified folder and this file's name.
You can obtain all of the parent folders of this file by calling IEdmFile5::GetFirstFolderPosition and IEdmFile5::GetNextFolder.
C++ users not using bstr_t wrapper functions must free the returned string with a call to SysFreeString.
See Return Codes for the complete list of potential success and error codes. The following are just a few examples:
- S_OK: The method successfully executed.
- E_EDM_FOLDER_NOT_FOUND: The folder ID is invalid.
SOLIDWORKS PDM Professional Version 5.2