Regex.UseOptionC 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This API supports obsolete mechanisms for Regex extensibility. It is not supported.
由 CompileToAssembly 方法所產生的 Regex 物件使用。
protected:
bool UseOptionC();
protected bool UseOptionC ();
[System.Obsolete("This API supports obsolete mechanisms for Regex extensibility. It is not supported.", DiagnosticId="SYSLIB0052", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected bool UseOptionC ();
member this.UseOptionC : unit -> bool
[<System.Obsolete("This API supports obsolete mechanisms for Regex extensibility. It is not supported.", DiagnosticId="SYSLIB0052", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.UseOptionC : unit -> bool
Protected Function UseOptionC () As Boolean
傳回
如果 Options 屬性包含 Compiled 選項,則為 true
,否則為 false
。
- 屬性