ISConceptsFilter.IncludeChildren

Description

This filter property is used to load the children concepts for the selected parent concept.

Syntax

object.IncludeChildren(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

bool

Example

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

Dim aFilter
Dim aConcepts
Dim aConcept
Dim aMessage

Set aFilter = Profile.CreateConceptsFilter
aFilter.AddConceptRef "IH", "z..UB", False
aFilter.AddConceptRef "IH", "z..2B", False
aFilter.AddConceptRef "IH", "z..2R", False
aFilter.IncludeChildren(0) = True
            
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 Children Concept can be found in Maintain > Termset Maintenance or in Special > Terms.

Version information

Added in v7.8.0