共用方式為


BreakStatementAst(IScriptExtent, ExpressionAst) Constructor

Definition

Construct a break statement ast.

public:
 BreakStatementAst(System::Management::Automation::Language::IScriptExtent ^ extent, System::Management::Automation::Language::ExpressionAst ^ label);
public BreakStatementAst (System.Management.Automation.Language.IScriptExtent extent, System.Management.Automation.Language.ExpressionAst label);
new System.Management.Automation.Language.BreakStatementAst : System.Management.Automation.Language.IScriptExtent * System.Management.Automation.Language.ExpressionAst -> System.Management.Automation.Language.BreakStatementAst
Public Sub New (extent As IScriptExtent, label As ExpressionAst)

Parameters

extent
IScriptExtent

The extent of the statement, including the break keyword and the optional label.

label
ExpressionAst

The optional label expression.

Exceptions

If extent is null.

Applies to