共用方式為


TryStatementSyntax.AddBlockStatements(StatementSyntax[]) Method

Definition

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

Parameters

items
StatementSyntax[]

Returns

Applies to