class Capture

in global :: System . Text . RegularExpressions

Represents the results from a single successful subexpression capture.


public int Index { get; }

The position in the original string where the first character of the captured substring is found.

  • Returns The zero-based starting position in the original string where the captured substring is found.

public int Length { get; }

Gets the length of the captured substring.

  • Returns The length of the captured substring.

public string Value { get; }

Gets the captured substring from the input string.

  • Returns The substring that is captured by the match.

public ReadOnlySpan<char> ValueSpan { get; }

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.