This documentation is archived and is not being maintained.
Regex.ToString Method
.NET Framework 1.1
Returns the regular expression pattern that was passed into the Regex constructor.
[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 pattern parameter that was passed into the Regex constructor.
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
Regex Class | Regex Members | System.Text.RegularExpressions Namespace
Show: