HashtableAst 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 hash literal ast.
public:
HashtableAst(System::Management::Automation::Language::IScriptExtent ^ extent, System::Collections::Generic::IEnumerable<Tuple<System::Management::Automation::Language::ExpressionAst ^, System::Management::Automation::Language::StatementAst ^> ^> ^ keyValuePairs);
public HashtableAst (System.Management.Automation.Language.IScriptExtent extent, System.Collections.Generic.IEnumerable<Tuple<System.Management.Automation.Language.ExpressionAst,System.Management.Automation.Language.StatementAst>> keyValuePairs);
new System.Management.Automation.Language.HashtableAst : System.Management.Automation.Language.IScriptExtent * seq<System.Management.Automation.Language.ExpressionAst * System.Management.Automation.Language.StatementAst> -> System.Management.Automation.Language.HashtableAst
Public Sub New (extent As IScriptExtent, keyValuePairs As IEnumerable(Of Tuple(Of ExpressionAst, StatementAst)))
Parameters
- extent
- IScriptExtent
The extent of the literal, from '@{' to the closing '}'.
- keyValuePairs
- IEnumerable<Tuple<ExpressionAst,StatementAst>>
The optionally null or empty list of key/value pairs.
Exceptions
If extent
is null.