Regex.UseOptionC メソッド

定義

注意事項

This API supports obsolete mechanisms for Regex extensibility. It is not supported.

CompileToAssembly メソッドで生成される Regex オブジェクトによって使用されます。

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 ();

戻り値

Options プロパティに Compiled オプションが含まれている場合は true。それ以外の場合は false

属性

適用対象

製品 バージョン (廃止)
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7 (8, 9)
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1