TokenTraits.GetTraits(TokenKind) 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.
Return all the flags for a given TokenKind.
public:
[System::Runtime::CompilerServices::Extension]
static System::Management::Automation::Language::TokenFlags GetTraits(System::Management::Automation::Language::TokenKind kind);
public static System.Management.Automation.Language.TokenFlags GetTraits (this System.Management.Automation.Language.TokenKind kind);
static member GetTraits : System.Management.Automation.Language.TokenKind -> System.Management.Automation.Language.TokenFlags
<Extension()>
Public Function GetTraits (kind As TokenKind) As TokenFlags
Parameters
- kind
- TokenKind