Skip to content

Children<TNode>.ExceptOfType Method ​

Definition ​

Lazily enumerates over all nodes in this collection not of the specified type.

c#
public IEnumerable<TNode> ExceptOfType<TChild>()
   where TChild : TNode;

View source

Type Parameters ​

NameDescription
TChildThe type of the nodes not to return.

Returns ​

IEnumerable<TNode>

A lazy enumeration of all nodes in this collection not of type TChild.