This documentation is archived and is not being maintained.

Capture.Value Property

Gets the captured substring from the input string.

[Visual Basic]
Public ReadOnly Property Value As String
[C#]
public string Value {get;}
[C++]
public: __property String* get_Value();
[JScript]
public function get Value() : String;

Property Value

The actual substring that was captured by the match.

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: