MatchCollection::ICollection::SyncRoot Property

.NET Framework (current version)

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

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

private:
virtual property Object^ SyncRoot {
	Object^ get () sealed = ICollection::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

This member is an explicit interface implementation. It can be used only when the MatchCollection instance is cast to an ICollection interface object.

.NET Framework

Supported in: 4.6

Portable Class Library

Supported in: Portable Class Library
Show: