Share via


MultiLineLambdaExpressionSyntax.Statements Property

Definition

The body of the lambda. Depending on the kind of lambda, this is either a StatementBody (multi-line lambda), Statement (single-line Sub lambda) or Expression (single-line Function). This might be an empty list.

public:
 property Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> Statements { Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> get(); };
public Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> Statements { get; }
member this.Statements : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax>
Public ReadOnly Property Statements As SyntaxList(Of StatementSyntax)

Property Value

Remarks

If nothing is present, an empty list is returned.

Applies to