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


lIndex
Zero-based index of the element to retrieve
Gets the element at the specified position in the list.

Syntax

Visual Basic 
Function GetAt( _
   ByVal lIndex As System.Integer _
) As System.Object
C# 
System.object GetAt( 
   System.int lIndex
)
C++/CLI 
System.Object^ GetAt( 
&   System.int lIndex
) 

Parameters

lIndex
Zero-based index of the element to retrieve

Return Value

Element at the specified position

Remarks

To enumerate a list, call IEdmEnum::MoveNext and IEdmEnum::Current, both of which are more efficient than this method.

Return codes:

  • S_OK: The method successfully executed.
  • E_INVALIDARG: The specified index is outside the range of this list.
 

See Also

Availability

SOLIDWORKS PDM Professional 2013