Megosztás a következőn keresztül:


SyntaxTokenList.Last Method

Definition

Returns the last token in the list.

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

Returns

The last token in the list.

Exceptions

The list is empty.

Applies to