共用方式為


Regex.InitializeReferences 方法

定義

警告

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

CompileToAssembly 方法所產生的 Regex 物件使用。

protected:
 void InitializeReferences();
protected void InitializeReferences ();
[System.Obsolete("This API supports obsolete mechanisms for Regex extensibility. It is not supported.", DiagnosticId="SYSLIB0052", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected void InitializeReferences ();
member this.InitializeReferences : unit -> unit
[<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.InitializeReferences : unit -> unit
Protected Sub InitializeReferences ()
屬性

例外狀況

參考已初始化。

適用於