Capture.Value Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the captured substring from the input string.
public:
property System::String ^ Value { System::String ^ get(); };
public string Value { get; }
member this.Value : string
Public ReadOnly Property Value As String
Property Value
The substring that is captured by the match.
Remarks
If a call to the Match(String) or NextMatch() method fails to find a match, the value of the returned Match.Value property is Empty. If the regular expression engine is unable to match a capturing group, the value of the returned Group.Value property is Empty.