共用方式為


AstVisitor.VisitTrap(TrapStatementAst) Method

Definition

public:
 virtual System::Management::Automation::Language::AstVisitAction VisitTrap(System::Management::Automation::Language::TrapStatementAst ^ trapStatementAst);
public virtual System.Management.Automation.Language.AstVisitAction VisitTrap (System.Management.Automation.Language.TrapStatementAst trapStatementAst);
abstract member VisitTrap : System.Management.Automation.Language.TrapStatementAst -> System.Management.Automation.Language.AstVisitAction
override this.VisitTrap : System.Management.Automation.Language.TrapStatementAst -> System.Management.Automation.Language.AstVisitAction
Public Overridable Function VisitTrap (trapStatementAst As TrapStatementAst) As AstVisitAction

Parameters

trapStatementAst
TrapStatementAst

Returns

Applies to