| Visual Basic | |
|---|---|
Function GetFirstFolderPosition() As IEdmPos5 | |
| C# | |
|---|---|
IEdmPos5 GetFirstFolderPosition() | |
| C++/CLI | |
|---|---|
IEdmPos5^ GetFirstFolderPosition(); | |
Return Value
IEdmPos5; position of the first parent folderFiles can be shared between several folders in SOLIDWORKS PDM Professional. Call IEdmFolder5::AddFileShared to share a file between several folders.
After calling this method to get the postion of the first parent folder in the list, call IEdmFile5::GetNextFolder to get the parent folders.
C++ programmers not using smart-pointer wrapper functions must release the returned pointer to IEdmPos5.
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.
- S_FALSE: One of the arguments is invalid.
SOLIDWORKS PDM Professional Version 5.2