共用方式為


Regex.UseOptionC 方法

定義

警告

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

屬性

適用於