TokenTraits.Text(TokenKind) Method

Definition

Return the text for a given TokenKind.

public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ Text(System::Management::Automation::Language::TokenKind kind);
public static string Text (this System.Management.Automation.Language.TokenKind kind);
static member Text : System.Management.Automation.Language.TokenKind -> string
<Extension()>
Public Function Text (kind As TokenKind) As String

Parameters

kind
TokenKind

Returns

Applies to