共用方式為


MethodBlockSyntax.AddStatements(StatementSyntax[]) 方法

定義

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

參數

items
StatementSyntax[]

傳回

適用於