| TocEntryCollectionFind Method (PredicateTocEntry, Boolean) |
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: 2014.11.22.0
Syntax 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>
Parameters
- match
- Type: SystemPredicateTocEntry
The match predicate - expandParentIfFound
- Type: SystemBoolean
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
Type:
IEnumerableTocEntryAn enumerable list of all matches
See Also