Bewerken

Share via


Match.Synchronized(Match) Method

Definition

Returns a Match instance equivalent to the one supplied that is suitable to share between multiple threads.

public:
 static System::Text::RegularExpressions::Match ^ Synchronized(System::Text::RegularExpressions::Match ^ inner);
public static System.Text.RegularExpressions.Match Synchronized (System.Text.RegularExpressions.Match inner);
static member Synchronized : System.Text.RegularExpressions.Match -> System.Text.RegularExpressions.Match
Public Shared Function Synchronized (inner As Match) As Match

Parameters

inner
Match

A regular expression match equivalent to the one expected.

Returns

A regular expression match that is suitable to share between multiple threads.

Exceptions

inner is null.

Applies to