Topic CollectionFind Method
This is used to find all topics and sub-topics that match the specified predicate recursively
Definition
Namespace: Sandcastle.Core.ConceptualContent
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
An enumerable list of all matches
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
C#
public IEnumerable<Topic> Find(
Predicate<Topic> match,
bool expandParentIfFound
)VB
Public Function Find (
match As Predicate(Of Topic),
expandParentIfFound As Boolean
) As IEnumerable(Of Topic)C++
public:
IEnumerable<Topic^>^ Find(
Predicate<Topic^>^ match,
bool expandParentIfFound
)F#
member Find :
match : Predicate<Topic> *
expandParentIfFound : bool -> IEnumerable<Topic> Parameters
- match PredicateTopic
- 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
IEnumerableTopicAn enumerable list of all matches