共用方式為


WithBlockSyntax.AddStatements(StatementSyntax[]) 方法

定義

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

參數

items
StatementSyntax[]

傳回

適用於