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

属性

适用于