ConstantExpressionAst(IScriptExtent, Object) 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 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.