Children<TNode>.OfType Method
Definition
Lazily enumerates over all nodes in this collection of the specified type.
public IEnumerable<TChild> OfType<TChild>()
where TChild : TNode;
Type Parameters
Name | Description |
---|---|
TChild | The type of the nodes to return. |
Returns
A lazy enumeration of all nodes in this collection of type TChild
.
Last modified: 22 November 2024