BreakStatementAst(IScriptExtent, ExpressionAst) Constructor
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.
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.