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。
- 屬性