語言

RegexRunner.TransferCapture(Int32, Int32, Int32, Int32) 方法

定義

由 Go() 呼叫以擷取子表達式。 請注意,這裡使用的 capnum 已經被映射到非稀疏索引(由程式碼產生器 RegexWriter 映射)。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

protected:
 void TransferCapture(int capnum, int uncapnum, int start, int end);
protected void TransferCapture(int capnum, int uncapnum, int start, int end);
member this.TransferCapture : int * int * int * int -> unit
Protected Sub TransferCapture (capnum As Integer, uncapnum As Integer, start As Integer, end As Integer)

參數

capnum
Int32

一個捕獲號碼。

uncapnum
Int32

一個儲存的捕獲號碼。

start
Int32

開始位置。

end
Int32

終點位置。

適用於