Share via


MergingRedirectionAst Constructor

Definition

Construct a merging redirection.

public:
 MergingRedirectionAst(System::Management::Automation::Language::IScriptExtent ^ extent, System::Management::Automation::Language::RedirectionStream from, System::Management::Automation::Language::RedirectionStream to);
public MergingRedirectionAst (System.Management.Automation.Language.IScriptExtent extent, System.Management.Automation.Language.RedirectionStream from, System.Management.Automation.Language.RedirectionStream to);
new System.Management.Automation.Language.MergingRedirectionAst : System.Management.Automation.Language.IScriptExtent * System.Management.Automation.Language.RedirectionStream * System.Management.Automation.Language.RedirectionStream -> System.Management.Automation.Language.MergingRedirectionAst
Public Sub New (extent As IScriptExtent, from As RedirectionStream, to As RedirectionStream)

Parameters

extent
IScriptExtent

The extent of the redirection.

from
RedirectionStream

The stream to read from.

to
RedirectionStream

The stream to write to - must always be Output

Exceptions

If extent is null.

Applies to