語言

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

定義

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

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

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

參數

capnum
Int32

一個捕獲號碼。

start
Int32

吃子的起始位置。

end
Int32

捕獲的終點位置。

適用於