TemplateInfo.Dependencies Property

[Read-only] This property returns a DependencyCollection, which is a list of all dependencies for the template. Unlike the RecursiveDepencencies property, this property shows only the top-level dependencies for the template. If you want to get all of the dependencies for each dependency, you must recurse through each dependency in the collection.

Take care when recursing through a template's dependencies to keep track of which dependencies have already been inspected. Otherwise, if there is a circular dependency (e.g., Template A depends on Template B, which depends on Template A), your recursive function could enter an endless loop.

Syntax

HotDocs.Server.DependencyCollection Dependencies [ get ]