This documentation is archived and is not being maintained.

Capture.ToString Method

Gets the captured substring from the input string.

[Visual Basic]
Overrides Public Function ToString() As String
[C#]
public override string ToString();
[C++]
public: String* ToString();
[JScript]
public override function ToString() : String;

Return Value

The actual substring that was captured by the match.

Remarks

ToString is actually an internal call to Value.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

Capture Class | Capture Members | System.Text.RegularExpressions Namespace

Show: