Share via


CatchClauseAst.CatchTypes Property

Definition

A possibly empty collection of types caught by this catch block. If the collection is empty, the catch handler catches all exceptions.

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

Property Value

Applies to