共用方式為


AccessorDeclarationSyntax.AddBodyStatements(StatementSyntax[]) Method

Definition

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

Parameters

items
StatementSyntax[]

Returns

Applies to