ContentInterface_GetCategories
Get handle on the list of categories the selected content belongs to.
Syntax
ContentInterface_GetCategories <content interface handle>
Type/Class
ContentInterface
Description
To get handle on the list of categories the selected content belongs to. Returns a list ContentInterfaceList. Use ContentInterfaceList_size to get the number of categories.
Examples
set gdm [DMDirector_OpenWorkspace $director $ws $repoh 0]
set qryhandle [$gdm GetQuery]
set stringtosearch "MS6000"
set clist [ContentInterfaceList]
set query [$gdm ExecQuery $stringtosearch $clist]
set cilistsize [ContentInterfaceList_size $clist]
set clist_at [ContentInterfaceList_at $clist 0]
set categories [ContentInterface_GetCategories $clist_at]