RegexRunner.CharInSet(Char, String, String) 方法

定义

注意

This API supports obsolete mechanisms for Regex extensibility. It is not supported.

CompileToAssembly 方法生成的 Regex 对象使用。

此 API 支持产品基础结构,不能在代码中直接使用。

protected:
 static bool CharInSet(char ch, System::String ^ set, System::String ^ category);
protected static bool CharInSet (char ch, string set, string category);
[System.Obsolete("This API supports obsolete mechanisms for Regex extensibility. It is not supported.", DiagnosticId="SYSLIB0052", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected static bool CharInSet (char ch, string set, string category);
static member CharInSet : char * string * string -> bool
[<System.Obsolete("This API supports obsolete mechanisms for Regex extensibility. It is not supported.", DiagnosticId="SYSLIB0052", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
static member CharInSet : char * string * string -> bool
Protected Shared Function CharInSet (ch As Char, set As String, category As String) As Boolean

参数

ch
Char

一个字符。

set
String

字符集。

category
String

字符类别。

返回

返回 Boolean

属性

适用于