Compartilhar via


UsingExpressionAst(IScriptExtent, ExpressionAst) Constructor

Definition

Construct a using expression.

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

Parameters

extent
IScriptExtent

The extent of the using expression.

expressionAst
ExpressionAst

The sub-expression of the using expression.

Exceptions

If extent or expressionAst is null.

Applies to