Partager via


TryStatementSyntax.AddCatches(CatchClauseSyntax[]) Method

Definition

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

Parameters

Returns

Applies to