Skip to content

Children<TNode>.ExceptOfType Method

Definition

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

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

View source

Type Parameters

Name Description
TChild The type of the nodes not to return.

Returns

IEnumerable<TNode>

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