Compartir a través de


CommandBaseAst(IScriptExtent, IEnumerable<RedirectionAst>) Constructor

Definition

Initialize the common fields of a command.

protected:
 CommandBaseAst(System::Management::Automation::Language::IScriptExtent ^ extent, System::Collections::Generic::IEnumerable<System::Management::Automation::Language::RedirectionAst ^> ^ redirections);
protected CommandBaseAst (System.Management.Automation.Language.IScriptExtent extent, System.Collections.Generic.IEnumerable<System.Management.Automation.Language.RedirectionAst> redirections);
new System.Management.Automation.Language.CommandBaseAst : System.Management.Automation.Language.IScriptExtent * seq<System.Management.Automation.Language.RedirectionAst> -> System.Management.Automation.Language.CommandBaseAst
Protected Sub New (extent As IScriptExtent, redirections As IEnumerable(Of RedirectionAst))

Parameters

extent
IScriptExtent

The extent of the command.

redirections
IEnumerable<RedirectionAst>

The redirections for the command, may be null.

Exceptions

If extent is null.

Applies to