Share via


TryStatementAst.CatchClauses Property

Definition

A collection of catch clauses, which is empty if there are no catches.

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<System::Management::Automation::Language::CatchClauseAst ^> ^ CatchClauses { System::Collections::ObjectModel::ReadOnlyCollection<System::Management::Automation::Language::CatchClauseAst ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<System.Management.Automation.Language.CatchClauseAst> CatchClauses { get; }
member this.CatchClauses : System.Collections.ObjectModel.ReadOnlyCollection<System.Management.Automation.Language.CatchClauseAst>
Public ReadOnly Property CatchClauses As ReadOnlyCollection(Of CatchClauseAst)

Property Value

Applies to