TypeExpressionAst(IScriptExtent, ITypeName) 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 type literal expression.
public:
TypeExpressionAst(System::Management::Automation::Language::IScriptExtent ^ extent, System::Management::Automation::Language::ITypeName ^ typeName);
public TypeExpressionAst (System.Management.Automation.Language.IScriptExtent extent, System.Management.Automation.Language.ITypeName typeName);
new System.Management.Automation.Language.TypeExpressionAst : System.Management.Automation.Language.IScriptExtent * System.Management.Automation.Language.ITypeName -> System.Management.Automation.Language.TypeExpressionAst
Public Sub New (extent As IScriptExtent, typeName As ITypeName)
Parameters
- extent
- IScriptExtent
The extent of the typename, including the opening and closing square braces.
- typeName
- ITypeName
The typename for the constructed ast.
Exceptions
If extent
or typeName
is null.