System.Text.RegularExpressions.Capture.ToString Method

Retrieves the captured substring from the input string by calling the Capture.Value property.

Syntax

public override string ToString ()

Returns

The substring that was captured by the match.

Remarks

ToString is actually an internal call to the Capture.Value property.

Requirements

Namespace: System.Text.RegularExpressions
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0