共用方式為


AnonymousMethodExpressionSyntax.AddBlockStatements(StatementSyntax[]) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::AnonymousMethodExpressionSyntax ^ AddBlockStatements(... cli::array <Microsoft::CodeAnalysis::CSharp::Syntax::StatementSyntax ^> ^ items);
public Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax AddBlockStatements (params Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax[] items);
member this.AddBlockStatements : Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax[] -> Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax
override this.AddBlockStatements : Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax[] -> Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax
Public Function AddBlockStatements (ParamArray items As StatementSyntax()) As AnonymousMethodExpressionSyntax

Parameters

items
StatementSyntax[]

Returns

Applies to