VariableToken Class
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.
A variable token - either a regular variable, such as $_, or a splatted variable like @PSBoundParameters.
public ref class VariableToken : System::Management::Automation::Language::Token
public class VariableToken : System.Management.Automation.Language.Token
type VariableToken = class
inherit Token
Public Class VariableToken
Inherits Token
- Inheritance
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) |
Name |
The simple name of the variable, without any scope or drive qualification. |
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) |
VariablePath |
The full details of the variable path. |
Methods
ToString() |
Return the text of the token as it appeared in the script. (Inherited from Token) |