Delen via


ChildSyntaxList.Last Method

Definition

Returns the last child in the list.

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

Returns

The last child in the list.

Exceptions

The list is empty.

Applies to