Version

Children(TextSpan,Boolean) Method

Gets the list of direct child nodes of the SyntaxNode.
Syntax
'Declaration
 
Public Overloads Function Children( _
   ByVal span As TextSpan, _
   Optional ByVal reverse As Boolean _
) As IEnumerable(Of SyntaxNode)
public IEnumerable<SyntaxNode> Children( 
   TextSpan span,
   bool reverse
)

Parameters

span
An optional span to restrict the result. Only child nodes intersecting with the span will be included. The span offset is relative to the beginning of the document.
reverse
True to get the child nodes in reverse order when enumerating the list.

Return Value

The list of direct child nodes of the SyntaxNode.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also