[This is preliminary documentation and is subject to change.]
Returns true when token's text is any of specified
Namespace: NFX.CodeAnalysisAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static bool TextIsAnyOf<TToken>(
this TToken token,
params string[] texts
)
where TToken : Token
public static bool TextIsAnyOf<TToken>(
this TToken token,
params string[] texts
)
where TToken : Token
<ExtensionAttribute>
Public Shared Function TextIsAnyOf(Of TToken As Token) (
token As TToken,
ParamArray texts As String()
) As Boolean
<ExtensionAttribute>
Public Shared Function TextIsAnyOf(Of TToken As Token) (
token As TToken,
ParamArray texts As String()
) As Boolean
public:
[ExtensionAttribute]
generic<typename TToken>
where TToken : Token
static bool TextIsAnyOf(
TToken token,
... array<String^>^ texts
)
public:
[ExtensionAttribute]
generic<typename TToken>
where TToken : Token
static bool TextIsAnyOf(
TToken token,
... array<String^>^ texts
)
static member TextIsAnyOf :
token : 'TToken *
texts : string[] -> bool when 'TToken : Token
static member TextIsAnyOf :
token : 'TToken *
texts : string[] -> bool when 'TToken : Token
- TToken
Return Value
Type:
BooleanUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).