SyntaxToken.GetAllTrivia Method

Definition

Gets a list of all the trivia (both leading and trailing) for this token.

public:
 System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxTrivia> ^ GetAllTrivia();
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxTrivia> GetAllTrivia ();
member this.GetAllTrivia : unit -> seq<Microsoft.CodeAnalysis.SyntaxTrivia>
Public Function GetAllTrivia () As IEnumerable(Of SyntaxTrivia)

Returns

Applies to