DynamicKeywordStatementAst 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.
Construct a DynamicKeyword statement.
public:
DynamicKeywordStatementAst(System::Management::Automation::Language::IScriptExtent ^ extent, System::Collections::Generic::IEnumerable<System::Management::Automation::Language::CommandElementAst ^> ^ commandElements);
public DynamicKeywordStatementAst (System.Management.Automation.Language.IScriptExtent extent, System.Collections.Generic.IEnumerable<System.Management.Automation.Language.CommandElementAst> commandElements);
new System.Management.Automation.Language.DynamicKeywordStatementAst : System.Management.Automation.Language.IScriptExtent * seq<System.Management.Automation.Language.CommandElementAst> -> System.Management.Automation.Language.DynamicKeywordStatementAst
Public Sub New (extent As IScriptExtent, commandElements As IEnumerable(Of CommandElementAst))
Parameters
- extent
- IScriptExtent
The extent of the expression, starting with the attribute and ending after the expression being attributed.
- commandElements
- IEnumerable<CommandElementAst>
A collection of CommandElementAst used to invoke DynamicKeyword specific command.
Exceptions
If commandElements
is null or empty.