次の方法で共有


NumberToken Class

Definition

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
NumberToken

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)

Applies to