SyntaxNode.AncestorsAndSelf(Boolean) Méthode

Définition

Obtient une liste de nœuds ancêtres (y compris ce nœud)

public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> AncestorsAndSelf (bool ascendOutOfTrivia = true);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<AncestorsAndSelf>d__85))]
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> AncestorsAndSelf (bool ascendOutOfTrivia = true);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<AncestorsAndSelf>d__87))]
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> AncestorsAndSelf (bool ascendOutOfTrivia = true);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<AncestorsAndSelf>d__86))]
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> AncestorsAndSelf (bool ascendOutOfTrivia = true);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<AncestorsAndSelf>d__88))]
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> AncestorsAndSelf (bool ascendOutOfTrivia = true);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<AncestorsAndSelf>d__89))]
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> AncestorsAndSelf (bool ascendOutOfTrivia = true);
member this.AncestorsAndSelf : bool -> seq<Microsoft.CodeAnalysis.SyntaxNode>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<AncestorsAndSelf>d__85))>]
member this.AncestorsAndSelf : bool -> seq<Microsoft.CodeAnalysis.SyntaxNode>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<AncestorsAndSelf>d__87))>]
member this.AncestorsAndSelf : bool -> seq<Microsoft.CodeAnalysis.SyntaxNode>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<AncestorsAndSelf>d__86))>]
member this.AncestorsAndSelf : bool -> seq<Microsoft.CodeAnalysis.SyntaxNode>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<AncestorsAndSelf>d__88))>]
member this.AncestorsAndSelf : bool -> seq<Microsoft.CodeAnalysis.SyntaxNode>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<AncestorsAndSelf>d__89))>]
member this.AncestorsAndSelf : bool -> seq<Microsoft.CodeAnalysis.SyntaxNode>
Public Iterator Function AncestorsAndSelf (Optional ascendOutOfTrivia As Boolean = true) As IEnumerable(Of SyntaxNode)

Paramètres

ascendOutOfTrivia
Boolean

Retours

Attributs

S’applique à