SubExpressionAst(IScriptExtent, StatementBlockAst) Constructor

Definition

Construct a subexpression.

public:
 SubExpressionAst(System::Management::Automation::Language::IScriptExtent ^ extent, System::Management::Automation::Language::StatementBlockAst ^ statementBlock);
public SubExpressionAst (System.Management.Automation.Language.IScriptExtent extent, System.Management.Automation.Language.StatementBlockAst statementBlock);
new System.Management.Automation.Language.SubExpressionAst : System.Management.Automation.Language.IScriptExtent * System.Management.Automation.Language.StatementBlockAst -> System.Management.Automation.Language.SubExpressionAst
Public Sub New (extent As IScriptExtent, statementBlock As StatementBlockAst)

Parameters

extent
IScriptExtent

The extent of the expression.

statementBlock
StatementBlockAst

Exceptions

If extent or statementBlock is null.

Applies to