TopicItem (Object)

Member of:

Topic object

Description:

Represents a field within a topic.

Example:

This example shows how to print the names of all the topics and topic items in a Data Model to the Console window:

with(ActiveDocument.Sections["Query"].DataModel)
{
TopicsCount = Topics.Count
for(I=1;I<= TopicsCount;I++)
{
       Console.Write(Topics[I].DisplayName+"\r\n")
       TopicItemsCount = Topics[I].TopicItems.Count
        for(j=1;j<= TopicItemsCount;j++)  
                       Console.Write(Topics[I].TopicItems[j].DisplayName )
              }
}

Methods:

None

Properties:

Read-only: Property PhysicalName As String

Read-write: Property DisplayName As String, Property Visible As Boolean