Share via


SyntaxNode.ChildNodes Method

Definition

Gets a list of the child nodes in prefix document order.

public:
 System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNode ^> ^ ChildNodes();
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> ChildNodes ();
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<ChildNodes>d__83))]
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> ChildNodes ();
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<ChildNodes>d__85))]
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> ChildNodes ();
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<ChildNodes>d__84))]
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> ChildNodes ();
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<ChildNodes>d__86))]
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> ChildNodes ();
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<ChildNodes>d__87))]
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> ChildNodes ();
member this.ChildNodes : unit -> seq<Microsoft.CodeAnalysis.SyntaxNode>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<ChildNodes>d__83))>]
member this.ChildNodes : unit -> seq<Microsoft.CodeAnalysis.SyntaxNode>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<ChildNodes>d__85))>]
member this.ChildNodes : unit -> seq<Microsoft.CodeAnalysis.SyntaxNode>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<ChildNodes>d__84))>]
member this.ChildNodes : unit -> seq<Microsoft.CodeAnalysis.SyntaxNode>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<ChildNodes>d__86))>]
member this.ChildNodes : unit -> seq<Microsoft.CodeAnalysis.SyntaxNode>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<ChildNodes>d__87))>]
member this.ChildNodes : unit -> seq<Microsoft.CodeAnalysis.SyntaxNode>
Public Iterator Function ChildNodes () As IEnumerable(Of SyntaxNode)

Returns

Attributes

Applies to