Match.Empty Match.Empty Match.Empty 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(); };
[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public static System.Text.RegularExpressions.Match Empty { get; }
member this.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