MethodDeclarationSyntax.AddBodyStatements(StatementSyntax[]) 方法

定义

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

参数

items
StatementSyntax[]

返回

适用于