Sdílet prostřednictvím


MethodDeclarationSyntax.AddBodyStatements(StatementSyntax[]) Method

Definition

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

Parameters

items
StatementSyntax[]

Returns

Applies to