PSToken.GetPSTokenType(Token) PSToken.GetPSTokenType(Token) PSToken.GetPSTokenType(Token) Method

Definition

Map a V3 token to a V2 PSTokenType

public:
 static System::Management::Automation::PSTokenType GetPSTokenType(System::Management::Automation::Language::Token ^ token);
public static System.Management.Automation.PSTokenType GetPSTokenType (System.Management.Automation.Language.Token token);
static member GetPSTokenType : System.Management.Automation.Language.Token -> System.Management.Automation.PSTokenType
Parameters
token
Token Token Token

The V3 token

Returns

The V2 PSTokenType

Applies to