SyntaxTrivia.GetStructure Method

Definition

Returns the child non-terminal node representing the syntax tree structure under this structured trivia.

public:
 Microsoft::CodeAnalysis::SyntaxNode ^ GetStructure();
public Microsoft.CodeAnalysis.SyntaxNode GetStructure ();
public Microsoft.CodeAnalysis.SyntaxNode? GetStructure ();
member this.GetStructure : unit -> Microsoft.CodeAnalysis.SyntaxNode
Public Function GetStructure () As SyntaxNode

Returns

The child non-terminal node representing the syntax tree structure under this structured trivia.

Applies to