다음을 통해 공유


StatementBlockAst.Traps Property

Definition

The asts for all of the trap statements specified by this statement block, or null if no trap statements were specified in this block.

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

Property Value

Applies to