次の方法で共有


AttributedExpressionAst Constructor

Definition

Construct an attributed expression.

public:
 AttributedExpressionAst(System::Management::Automation::Language::IScriptExtent ^ extent, System::Management::Automation::Language::AttributeBaseAst ^ attribute, System::Management::Automation::Language::ExpressionAst ^ child);
public AttributedExpressionAst (System.Management.Automation.Language.IScriptExtent extent, System.Management.Automation.Language.AttributeBaseAst attribute, System.Management.Automation.Language.ExpressionAst child);
new System.Management.Automation.Language.AttributedExpressionAst : System.Management.Automation.Language.IScriptExtent * System.Management.Automation.Language.AttributeBaseAst * System.Management.Automation.Language.ExpressionAst -> System.Management.Automation.Language.AttributedExpressionAst
Public Sub New (extent As IScriptExtent, attribute As AttributeBaseAst, child As ExpressionAst)

Parameters

extent
IScriptExtent

The extent of the expression, starting with the attribute and ending after the expression being attributed.

attribute
AttributeBaseAst

The attribute being applied to child

child
ExpressionAst

The expression being attributed by attribute

Exceptions

If extent, attribute, or child is null.

Applies to