UsingExpressionAst(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 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.