Share via


SyncRoot Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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)

Syntax

'Declaration
Public ReadOnly Property SyncRoot As Object
public Object SyncRoot { get; }
public:
virtual property Object^ SyncRoot {
    Object^ get () sealed;
}
abstract SyncRoot : Object with get
override SyncRoot : Object with get
final function get SyncRoot () : Object

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

.NET Framework Security

See Also

Reference

MatchCollection Class

System.Text.RegularExpressions Namespace