TokenTraits.GetTraits(TokenKind) Method

Definition

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

Returns

Applies to