ReturnStatementAst(IScriptExtent, PipelineBaseAst) Constructor

Definition

Construct a return statement.

public:
 ReturnStatementAst(System::Management::Automation::Language::IScriptExtent ^ extent, System::Management::Automation::Language::PipelineBaseAst ^ pipeline);
public ReturnStatementAst (System.Management.Automation.Language.IScriptExtent extent, System.Management.Automation.Language.PipelineBaseAst pipeline);
new System.Management.Automation.Language.ReturnStatementAst : System.Management.Automation.Language.IScriptExtent * System.Management.Automation.Language.PipelineBaseAst -> System.Management.Automation.Language.ReturnStatementAst
Public Sub New (extent As IScriptExtent, pipeline As PipelineBaseAst)

Parameters

extent
IScriptExtent

The extent of the statement including the optional return value.

pipeline
PipelineBaseAst

The optional return value.

Exceptions

If extent is null.

Applies to