ValueMatch 結構

定義

表示單一規則運算式 (Regular Expression) 比對的結果。

public value class ValueMatch
public readonly ref struct ValueMatch
type ValueMatch = struct
Public Structure ValueMatch
繼承
ValueMatch

備註

ValueMatch 類型不可變,且沒有公用建構函式。 在呼叫 的結果上逐一查看 EnumerateMatches(ReadOnlySpan<Char>) 時,方法會傳 Current 回 結構的實例 ValueMatch

屬性

Index

取得原始範圍中找到所擷取之交叉分析範圍之第一個字元的位置。

Length

取得擷取之交叉分析範圍的長度。

適用於