ISConceptsFilter.ConceptRefConceptCode

Description

This filter property is used to load the number and the names of the concepts loaded on the basis of the selected filter.

Syntax

object.ConceptRefConceptCode(aIndex)

Part Attribute Type Description
object Required
The object always implements the ISConceptsFilter interface
aIndex In, Required
int
The index of the concept

Return Value

string

Example

Display the number and the names of the concepts loaded on the basis of the selected filter.

Dim aFilter
Dim aConcepts
Dim aConcept
Dim aMessage

Set aFilter = Profile.CreateConceptsFilter
aFilter.AddConceptRef "IH", "z..UB", True
aFilter.AddConceptRef "IH", "z..2B", True
aFilter.AddConceptRef "IH", "z..2R", True
aFilter.ConceptRefConceptCode(2) = "z..2B"
            
set aConcepts = Profile.LoadConcepts(aFilter)

aMessage = "Concepts Count = " & aConcepts.Count & vbNewLine

for i = 0 to aConcepts.Count - 1
  set aConcept = aConcepts.Item(i)
  aMessage = aMessage & vbNewLine & "The name of the concept is " &_ 
    aConcept.Name 
next

Profile.MsgBox(aMessage)
Note:

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

Version information

Added in v7.8.0