共用方式為


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

屬性

適用於