Partilhar via


AttributeBaseAst(IScriptExtent, ITypeName) Constructor

Definition

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.

Applies to