TocEntryCollectionFind(PredicateTocEntry, Boolean) Method

This is used to find all topics and sub-topics that match the specified predicate recursively

Definition

Namespace: SandcastleBuilder.Utils.ConceptualContent
Assembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2024.12.21.0
public IEnumerable<TocEntry> Find(
	Predicate<TocEntry> match,
	bool expandParentIfFound
)

Parameters

match  PredicateTocEntry
The match predicate
expandParentIfFound  Boolean
True to expand the parent if a child node matches or false to leave it as is. Expanding the node ensures it is visible in the bound tree view.

Return Value

IEnumerableTocEntry
An enumerable list of all matches

See Also