Share via


UsingExpressionAst.ExtractUsingVariable(UsingExpressionAst) Method

Definition

Get the underlying "using variable" from a UsingExpressionAst.

public:
 static System::Management::Automation::Language::VariableExpressionAst ^ ExtractUsingVariable(System::Management::Automation::Language::UsingExpressionAst ^ usingExpressionAst);
public static System.Management.Automation.Language.VariableExpressionAst ExtractUsingVariable (System.Management.Automation.Language.UsingExpressionAst usingExpressionAst);
static member ExtractUsingVariable : System.Management.Automation.Language.UsingExpressionAst -> System.Management.Automation.Language.VariableExpressionAst
Public Shared Function ExtractUsingVariable (usingExpressionAst As UsingExpressionAst) As VariableExpressionAst

Parameters

usingExpressionAst
UsingExpressionAst

A UsingExpressionAst

Returns

The underlying VariableExpressionAst of the UsingExpression

Applies to