TocEntryCollectionFind(PredicateTocEntry, Boolean) Method
This is used to find all topics and sub-topics that match the specified predicate recursively
Namespace: SandcastleBuilder.Utils.ConceptualContentAssembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2024.9.12.0
public IEnumerable<TocEntry> Find(
Predicate<TocEntry> match,
bool expandParentIfFound
)
Public Function Find (
match As Predicate(Of TocEntry),
expandParentIfFound As Boolean
) As IEnumerable(Of TocEntry)
public:
IEnumerable<TocEntry^>^ Find(
Predicate<TocEntry^>^ match,
bool expandParentIfFound
)
member Find :
match : Predicate<TocEntry> *
expandParentIfFound : bool -> IEnumerable<TocEntry>
- 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.
IEnumerableTocEntryAn enumerable list of all matches