SyntaxNode.ChildNodes 方法

定义

获取前缀文档顺序中的子节点的列表。

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)

返回

属性

适用于