Regex.ValueSplitEnumerator 结构
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示一个枚举器,该枚举器包含通过迭代方式将正则表达式模式应用于输入范围来发现的成功匹配项集。
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
- 继承
- 实现
属性
| 名称 | 说明 |
|---|---|
| Current |
获取 Range 枚举器当前位置的元素。 |
方法
| 名称 | 说明 |
|---|---|
| GetEnumerator() |
提供循环访问输入范围中的拆分的枚举器。 |
| MoveNext() |
将枚举器前进到下一个拆分。 |
显式接口实现
| 名称 | 说明 |
|---|---|
| IDisposable.Dispose() |
执行与释放、释放或重置非托管资源关联的应用程序定义任务。 |
| IEnumerator.Current |
获取集合中枚举器当前位置的元素。 |
| IEnumerator.Reset() |
将枚举器设置为其初始位置,该位置位于集合中的第一个元素之前。 |