TokenTraits 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 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.  |