PSToken.GetPSTokenType(Token) Method
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.
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
Public Shared Function GetPSTokenType (token As Token) As PSTokenType
Parameters
- token
- Token
The V3 token.
Returns
The V2 PSTokenType.