ISTSConceptTerms.Item

Description

Each of the concept's terms within the collection.

Syntax

object.Item

Part Attribute Type Description
object Required
The object always implements the ISTSConceptTerms interface
Restriction: This property is readonly.

Return Value

ISTSConceptTerm

Example

Display each of the concept's terms within the collection.

Dim aTermSelector
Dim aTermset
Dim aMessage
Dim aConcept
Dim aTerms, aTerm

Set aTermSelector = Profile.ShowTermSelector
if aTermSelector.Cancelled then
  Profile.MsgBox("No concept is selected")
  exit sub
end if

Set aTermset = aTermSelector.SelectedTermset
aMessage =_
  "The code of the termset: " & vbTab & vbTab & aTermset.Code & vbNewLine &_
  "The description of the termset: " & vbTab & aTermset.Description & vbNewLine 

set aConcept = aTermSelector.SelectedConcept   
aMessage = aMessage &_
  "The code of the concept: " & vbTab & vbTab & aConcept.Code & vbNewLine &_
  "The description of the concept: " & vbTab & aConcept.Description & vbNewLine 

set aTerms = aConcept.Terms

do
  set aTerm = aTerms.Item 
  aMessage = aMessage &_
    "The code of the term: " & vbTab & vbTab & aTerm.Code & vbNewLine &_
    "The description of the term: " & vbTab & aTerm.Description & vbNewLine  
loop until not aTerms.Next  
      
Profile.MsgBox(aMessage)
Note:

In Profile Client v8 on User Interface Concept Terms can be found in Maintain > Termset Maintenance > Details > Terms or in Special > Terms > Details > Terms.

Version information

Added in v7.8.0