Match.Empty Property

Definition

Gets the empty group. All failed matches return this empty match.

public:
 static property System::Text::RegularExpressions::Match ^ Empty { System::Text::RegularExpressions::Match ^ get(); };
public static System.Text.RegularExpressions.Match Empty { get; }
static member Empty : System.Text.RegularExpressions.Match
Public Shared ReadOnly Property Empty As Match

Property Value

An empty match.

Remarks

This property should not be used to determine if a match is successful. Instead, use the Match.Success property (which is inherited from Group.Success).

Applies to