Edit

Share via


Regex.UseOptionC Method

Definition

Caution

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

Used by a Regex object generated by the CompileToAssembly method.

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

Returns

true if the Options property contains the Compiled option; otherwise, false.

Attributes

Applies to