Represents a topic in a Data Model or Query section.
This example shows how to print the names of all the topics 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")
}
This example shows how to remove the Wine Sales topic from a query and send an alert of the modification:
ActiveDocument.Sections["Query"].DataModel.Topics["Wine Sales"].Remove() Alert("Query results have been modified")
Read-only: Property PhysicalName As String, Property Type As BqTopicType
Read-write: Property DisplayName As String, Property View As BqTopicView