AddAllTopics (Method)

Applies To:

DefinedJoinPath collection

Description:

If you programmatically define join paths, use the AddAllTopics() method of the DefinedJoinPaths (Collection) to select all topics based on items on the Request and Limit lines. This is like using all topics in the Define Join Path dialog to populate the Topics in Join Path list.

Syntax:

ActiveDocument.Sections["Query"].DataModel. JoinsOptions.DefinedJoinPath[“MyJoinPath”]. AddAllTopics()

Example:

In this example all topics are added to the MyJoinPath join path.

ActiveDocument.Sections["Query"].DataModel.JoinsOptions.DefinedJoinPath[“MyJoinPath”].AddAllTopics()