語言

Regex.ValueSplitEnumerator 結構

定義

代表一個列舉子,包含透過對輸入範圍反覆應用正則表達式模式所找到的成功匹配分割集合。

public: value class Regex::ValueSplitEnumerator : System::Collections::Generic::IEnumerator<Range>
public: value class Regex::ValueSplitEnumerator
public ref struct Regex.ValueSplitEnumerator : System.Collections.Generic.IEnumerator<Range>
public ref struct Regex.ValueSplitEnumerator
type Regex.ValueSplitEnumerator = struct
    interface IEnumerator<Range>
    interface IEnumerator
    interface IDisposable
type Regex.ValueSplitEnumerator = struct
Public Structure Regex.ValueSplitEnumerator
Implements IEnumerator(Of Range)
Public Structure Regex.ValueSplitEnumerator
繼承
Regex.ValueSplitEnumerator
實作

屬性

名稱 Description
Current

取得列舉器當前位置的 Range 元素。

方法

名稱 Description
GetEnumerator()

提供一個列舉器,遍歷輸入區間的分割。

MoveNext()

將列舉員推進到下一個分段。

明確介面實作

名稱 Description
IDisposable.Dispose()

執行與釋放、釋放或重設非受控資源相關聯的應用程式定義工作。

IEnumerator.Current

取得集合中位於列舉值目前位置的專案。

IEnumerator.Reset()

將列舉值設定為其初始位置,也就是集合中第一個專案之前。

適用於