Click or drag to resize

VisualBasicSyntaxNodeGetTrailingTrivia Method

Get the following trivia nodes of this node. If this node is a token, returns the following trivia associated with this node. If this is a non-terminal, returns the following trivia of the last token of this node.

Namespace:  Microsoft.CodeAnalysis.VisualBasic
Assembly:  Microsoft.CodeAnalysis.VisualBasic (in Microsoft.CodeAnalysis.VisualBasic.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
public SyntaxTriviaList GetTrailingTrivia()

Return Value

Type: SyntaxTriviaList
A list of the following trivia.
If this node is a non-terminal, the parents of the trivia will be the first token of this non-terminal; NOT this node.
See Also