Share via


PipelineBaseAst.GetPureExpression Method

Definition

If the pipeline represents a pure expression, the expression is returned, otherwise null is returned.

public:
 virtual System::Management::Automation::Language::ExpressionAst ^ GetPureExpression();
public virtual System.Management.Automation.Language.ExpressionAst GetPureExpression ();
abstract member GetPureExpression : unit -> System.Management.Automation.Language.ExpressionAst
override this.GetPureExpression : unit -> System.Management.Automation.Language.ExpressionAst
Public Overridable Function GetPureExpression () As ExpressionAst

Returns

Applies to