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


Starts an enumeration of the attributes mapped to this variable.

Syntax

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

Return Value

IEdmPos5; position of the first attribute in the enumeration

Remarks

After calling this method, pass the returned position of the first attribute to IEdmVariableValue5::GetNextAttribute to get the first attribute in this list. Then call IEdmVariableValue5::GetNextAttribute repeatedly to get the rest of the variables.

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

Return codes: 

  • S_OK: The method successfully executed.
 

See Also

Availability

SOLIDWORKS PDM Professional Version 5.2