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


Starts an enumeration of the labels set on this file.

Syntax

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

Return Value

IEdmPos5; position of the first label set on this file

Remarks

After calling this method, pass the returned first label position to IEdmEnumeratorVersion5::GetNextLabel to get the first label set on this file. Call IEdmEnumeratorVersion5::GetNextLabel repeatedly to get the rest of the labels set on 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