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


Starts an enumeration of the versions of this file.

Syntax

Visual Basic 
Function GetFirstVersionPosition() As IEdmPos5
C# 
IEdmPos5 GetFirstVersionPosition()
C++/CLI 
IEdmPos5^ GetFirstVersionPosition(); 

Return Value

IEdmPos5; position of the first version of this file

Example

Remarks

After calling this method, pass the returned first version position to IEdmEnumeratorVersion5::GetNextVersion to get the first version. Then call IEdmEnumeratorVersion5::GetNextVersion to get the rest of the versions of this file.

C++ programmers not using smart-pointer wrapper functions must release the returned interface, IEdmPos5.

Return codes:

  • S_OK: The method successfully executed.
  • S_FALSE: An argument is invalid.
 

See Also

Availability

SOLIDWORKS PDM Professional Version 5.2