Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SyncRoot Property

MatchCollection.SyncRoot Property

Gets an object that can be used to synchronize access to the collection.

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

public Object SyncRoot { get; }

Property Value

Type: System.Object
An object that can be used to synchronize access to the collection. This property always returns the object itself.

Implements

ICollection.SyncRoot

Caution noteCaution

This member is not present in the Portable Class Library. If you are developing applications that target the Portable Class Library, use the MatchCollection.ICollection.SyncRoot property instead.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8
Show:
© 2015 Microsoft