StringConstantExpressionAst Class
The ast that represents a constant string expression that is always constant. This includes both single and double quoted strings, but the double quoted strings will not be scanned for variable references and sub-expressions.
If expansion of the string is required, use ExpandableStringExpressionAst.
Namespace: System.Management.Automation.Language
Assembly: System.Management.Automation (in System.Management.Automation.dll)
Namespace: System.Management.Automation.Language
Assembly: System.Management.Automation (in System.Management.Automation.dll)
System.Object
System.Management.Automation.Language.Ast
System.Management.Automation.Language.CommandElementAst
System.Management.Automation.Language.ExpressionAst
System.Management.Automation.Language.ConstantExpressionAst
System.Management.Automation.Language.StringConstantExpressionAst
System.Management.Automation.Language.Ast
System.Management.Automation.Language.CommandElementAst
System.Management.Automation.Language.ExpressionAst
System.Management.Automation.Language.ConstantExpressionAst
System.Management.Automation.Language.StringConstantExpressionAst
Any public static (
Shared
in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Target Platforms
Windows Developer Preview, Windows Server Developer PreviewSend comments about this topic to Microsoft.