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


Starts an enumeration of all the files in this workflow state.

Syntax

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

Return Value

IEdmPos5; position in the list of the first file in this workflow state (see Remarks)

Example

Remarks

After calling this method, pass the returned position of the first file in this workflow state to IEdmState5::GetNextFile to get the first file in this workflow state. Then call IEdmState5::GetNextFile repeatedly to get the rest of the files in this workflow state.

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

Use IEdmSearch5 to perform more elaborate searches.

Return codes:

  • S_OK: The method successfully executed.
 

See Also

Availability

SOLIDWORKS PDM Professional Version 5.2