次の方法で共有


TokenTraits Class

Definition

A utility class to get statically known traits and invariant traits about PowerShell tokens.

public ref class TokenTraits abstract sealed
public static class TokenTraits
type TokenTraits = class
Public Module TokenTraits
Inheritance
TokenTraits

Methods

GetTraits(TokenKind)

Return all the flags for a given TokenKind.

HasTrait(TokenKind, TokenFlags)

Return true if the TokenKind has the given trait.

Text(TokenKind)

Return the text for a given TokenKind.

Applies to