CommandBaseAst(IScriptExtent, IEnumerable<RedirectionAst>) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.