Children<TNode>.OfType Method ​
Definition ​
Lazily enumerates over all nodes in this collection of the specified type.
c#
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.