StringConstantExpressionAst(IScriptExtent, String, StringConstantType) 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 string constant expression.
public:
StringConstantExpressionAst(System::Management::Automation::Language::IScriptExtent ^ extent, System::String ^ value, System::Management::Automation::Language::StringConstantType stringConstantType);
public StringConstantExpressionAst (System.Management.Automation.Language.IScriptExtent extent, string value, System.Management.Automation.Language.StringConstantType stringConstantType);
new System.Management.Automation.Language.StringConstantExpressionAst : System.Management.Automation.Language.IScriptExtent * string * System.Management.Automation.Language.StringConstantType -> System.Management.Automation.Language.StringConstantExpressionAst
Public Sub New (extent As IScriptExtent, value As String, stringConstantType As StringConstantType)
Parameters
- extent
- IScriptExtent
The extent of the string constant, including quotes.
- value
- String
The value of the string.
- stringConstantType
- StringConstantType
The type of string.
Exceptions
If extent
or value
is null.