Match.Synchronized Method (Match)

 

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

Namespace:   System.Text.RegularExpressions
Assembly:  System (in System.dll)

[HostProtectionAttribute(SecurityAction.LinkDemand, Synchronization = true)]
public static Match Synchronized(
	Match inner
)

Parameters

inner
Type: System.Text.RegularExpressions.Match

A regular expression match equivalent to the one expected.

Return Value

Type: System.Text.RegularExpressions.Match

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

Exception Condition
ArgumentNullException

inner is null.

.NET Framework
Available since 1.1
Return to top
Show: