Delen via


SyntaxTriviaList.Last Method

Definition

Returns the last trivia in the list.

public:
 Microsoft::CodeAnalysis::SyntaxTrivia Last();
public Microsoft.CodeAnalysis.SyntaxTrivia Last ();
member this.Last : unit -> Microsoft.CodeAnalysis.SyntaxTrivia
Public Function Last () As SyntaxTrivia

Returns

The last trivia in the list.

Exceptions

The list is empty.

Applies to