StringConstantExpressionAst(IScriptExtent, String, StringConstantType) Constructor

Definition

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.

Applies to