UsingExpressionAst.ExtractUsingVariable(UsingExpressionAst) Method
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.
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