ISTermSelector.SelectedTermset

Description

The termset selected in the term selector window.

Syntax

object.SelectedTermset

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

Return Value

ISTSTermSet

Example

Display the code and code description of the selected termset.

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

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

Profile.MsgBox(aMessage)
Note:

In Profile Client v8 on User Interface Termset can be found in Maintain > Termset Maintenance > Select the termset from the drop-down list; Special > Terms > Select the termset from the drop-down listor inMaintain > Termset Maintenance > Details > Termset.

Version information

Added in v7.8.0