PSToken Properties

  Name Description
public property Content Gets the text for the token. This property is introduced in Windows PowerShell 2.0.
public property EndColumn Gets the position in the line where the token ends. This property is introduced in Windows PowerShell 2.0.
public property EndLine Gets the line number of the script where the token ends. This property is introduced in Windows PowerShell 2.0.
public property Length Gets the length of the token. This property is introduced in Windows PowerShell 2.0.
public property Start Gets the offset of where the token begins from the beginning of the script. This property is introduced in Windows PowerShell 2.0.
public property StartColumn Gets the position in the line where the token begins. This property is introduced in Windows PowerShell 2.0.
public property StartLine Gets the line number of the script where the token begins. This property is introduced in Windows PowerShell 2.0.
public property Type Gets the type of token, such as a parameter token for cmdlet parameters. This property is introduced in Windows PowerShell 2.0.

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft