Table of Contents

Class Capture

Namespace
System.Text.RegularExpressions
Assembly
System.Text.RegularExpressions.dll

Represents the results from a single subexpression capture. System.Text.RegularExpressions. Capture respresents one substring to a single successful catpture

public class Capture
Inheritance
Capture
Derived
Inherited Members
Extension Methods

Properties

Index

Gets the index.

public int Index { get; }

Property Value

int

Length

Gets the length.

public int Length { get; }

Property Value

int

Value

Gets the value.

public string Value { get; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

Remarks

Available only in mscorlib build with support for System.Reflection.