NumberToken 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 constant number token. The value may be any numeric type including int, long, double, or decimal.
public ref class NumberToken : System::Management::Automation::Language::Token
public class NumberToken : System.Management.Automation.Language.Token
type NumberToken = class
inherit Token
Public Class NumberToken
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) |
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 numeric value of this token. |
Methods
ToString() |
Return the text of the token as it appeared in the script. (Inherited from Token) |