共用方式為


ConstructorDeclarationSyntax.AddBodyStatements(StatementSyntax[]) Method

Definition

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

Parameters

items
StatementSyntax[]

Returns

Applies to