AttributeBaseAst(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.
Initialize the common fields for an attribute.
protected:
AttributeBaseAst(System::Management::Automation::Language::IScriptExtent ^ extent, System::Management::Automation::Language::ITypeName ^ typeName);
protected AttributeBaseAst (System.Management.Automation.Language.IScriptExtent extent, System.Management.Automation.Language.ITypeName typeName);
new System.Management.Automation.Language.AttributeBaseAst : System.Management.Automation.Language.IScriptExtent * System.Management.Automation.Language.ITypeName -> System.Management.Automation.Language.AttributeBaseAst
Protected Sub New (extent As IScriptExtent, typeName As ITypeName)
Parameters
- extent
- IScriptExtent
The extent of the attribute, from the opening '[' to the closing ']'.
- typeName
- ITypeName
The type named by the attribute.
Exceptions
If extent
or typeName
is null.