Partager via


MethodDeclarationSyntax.AddBodyStatements(StatementSyntax[]) Méthode

Définition

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

Paramètres

items
StatementSyntax[]

Retours

S’applique à