NamedBlockAst.Traps Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)