TopicCollection.Find Method
Definition
- Namespace
- Sandcastle.Core.ConceptualContent
- Assembly
- Sandcastle.Core.dll
This is used to find all topics and sub-topics that match the specified predicate recursively
public IEnumerable<Topic> Find(Predicate<Topic> match, bool expandParentIfFound)
Parameters
matchPredicate<Topic>The match predicate
expandParentIfFoundboolTrue 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.
Returns
- IEnumerable<Topic>
An enumerable list of all matches