Share via


TryBlockSyntax.CatchBlocks Property

Definition

A list of "Catch" blocks which may be executed if an exception is thrown while executing the statements in the "Try" block.

public:
 property Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::CatchBlockSyntax ^> CatchBlocks { Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::CatchBlockSyntax ^> get(); };
public Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchBlockSyntax> CatchBlocks { get; }
member this.CatchBlocks : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchBlockSyntax>
Public ReadOnly Property CatchBlocks As SyntaxList(Of CatchBlockSyntax)

Property Value

Remarks

If nothing is present, an empty list is returned.

Applies to