Compartilhar via


ConstantExpressionAst(IScriptExtent, Object) Constructor

Definition

Construct a constant expression.

public:
 ConstantExpressionAst(System::Management::Automation::Language::IScriptExtent ^ extent, System::Object ^ value);
public ConstantExpressionAst (System.Management.Automation.Language.IScriptExtent extent, object value);
new System.Management.Automation.Language.ConstantExpressionAst : System.Management.Automation.Language.IScriptExtent * obj -> System.Management.Automation.Language.ConstantExpressionAst
Public Sub New (extent As IScriptExtent, value As Object)

Parameters

extent
IScriptExtent

The extent of the constant.

value
Object

The value of the constant.

Exceptions

If extent is null.

Applies to