Delen via


SyntaxNodeOrTokenList.LastOrDefault Method

Definition

Gets the last SyntaxNodeOrToken structure from this list if present, else default(SyntaxNodeOrToken).

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

Returns

Applies to