| Visual Basic | |
|---|---|
Function GetFirstParentPosition2( _ ByVal lVersionOrZero As System.Integer, _ ByVal bGetAllParentVersions As System.Boolean, _ ByVal lEdmRefFlags As System.Integer _ ) As IEdmPos5 | |
| C# | |
|---|---|
IEdmPos5 GetFirstParentPosition2( System.int lVersionOrZero, System.bool bGetAllParentVersions, System.int lEdmRefFlags ) | |
| C++/CLI | |
|---|---|
IEdmPos5^ GetFirstParentPosition2( & System.int lVersionOrZero, & System.bool bGetAllParentVersions, & System.int lEdmRefFlags ) | |
Parameters
- lVersionOrZero
- Non-0 value enumerates the files referencing the specified version of the file; argument is ignored if value is 0
- bGetAllParentVersions
- True to return all versions, of all parents, referencing this file; false to return on the latest referencing version
- lEdmRefFlags
- Types of references that you want enumerated as defined in EdmRefFlags
Return Value
Position of first file referencing this fileSee the IEdmReference7 examples.
Pass the position to IEdmReference5::GetNextParent to continue to enumerate all of the parent files.
C++ programmers not using smart-pointer wrapper functions must release the position.
Return code S_OK indicates that the method successfully executed.
SOLIDWORKS PDM Professional 2010