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


poPos
IEdmPos5; position of the next workflow state transition in the list
Gets the next workflow state transition in an enumeration.

Syntax

Visual Basic 
Function GetNextTransition( _
   ByVal poPos As IEdmPos5 _
) As IEdmTransition6
C# 
IEdmTransition6 GetNextTransition( 
   IEdmPos5 poPos
)
C++/CLI 
IEdmTransition6^ GetNextTransition( 
&   IEdmPos5^ poPos
) 

Parameters

poPos
IEdmPos5; position of the next workflow state transition in the list

Return Value

IEdmTransition6

Example

Remarks

Before calling this method the first time, you must populate poPos with the interface to the position of the first workflow state transition in the list, IEdmPos5. Call IEdmWorkflow6::GetFirstTransitionPosition to obtain poPos.

After calling this method the first time, poPos is automatically incremented every time it is called. Call this method repeatedly to obtain the rest of the workflow state transitions in the list.

Be sure to call IEdmPos5::IsNull before you call this method to ensure you have not reached the end of the enumeration.

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

Return codes: 

  • S_OK: The method successfully executed.
  • E_EDM_END_OF_LIST: You have gone past the end of the list.
 

See Also

Availability

SOLIDWORKS PDM Professional Version 6.0