Partager via


StringExpandableToken Class

Definition

A double quoted string, or a double quoted here string.

public ref class StringExpandableToken : System::Management::Automation::Language::StringToken
public class StringExpandableToken : System.Management.Automation.Language.StringToken
type StringExpandableToken = class
    inherit StringToken
Public Class StringExpandableToken
Inherits StringToken
Inheritance
StringExpandableToken

Properties

Extent

Return the extent in the script of the token.

(Inherited from Token)
HasError

Returns true if the token is in error somehow, such as missing a closing quote.

(Inherited from Token)
Kind

Return the kind of token.

(Inherited from Token)
NestedTokens

This collection holds any tokens from variable references and sub-expressions within the string. For example: "In $([DateTime]::Now.Year - $age), $name was born" has a nested expression with a sequence of tokens, plus the variable reference $name.

Text

Return the text of the token as it appeared in the script.

(Inherited from Token)
TokenFlags

Return the flags for the token.

(Inherited from Token)
Value

The string value without quotes or leading newlines in the case of a here string.

(Inherited from StringToken)

Methods

ToString()

Return the text of the token as it appeared in the script.

(Inherited from Token)

Applies to