共用方式為


RedirectionAst(IScriptExtent, RedirectionStream) Constructor

Definition

Initialize the common fields in a redirection.

protected:
 RedirectionAst(System::Management::Automation::Language::IScriptExtent ^ extent, System::Management::Automation::Language::RedirectionStream from);
protected RedirectionAst (System.Management.Automation.Language.IScriptExtent extent, System.Management.Automation.Language.RedirectionStream from);
new System.Management.Automation.Language.RedirectionAst : System.Management.Automation.Language.IScriptExtent * System.Management.Automation.Language.RedirectionStream -> System.Management.Automation.Language.RedirectionAst
Protected Sub New (extent As IScriptExtent, from As RedirectionStream)

Parameters

extent
IScriptExtent

The extent of the redirection.

from
RedirectionStream

The stream to read from.

Applies to