RegexRunner.CharInSet(Char, String, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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。
- 属性