Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public:
[HostProtectionAttribute(SecurityAction::LinkDemand, Synchronization = true)]
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:
© 2017 Microsoft