Mono Class Library: System.Collections.ArrayList Overview | Members

System.Collections.ArrayList.SyncRoot Property

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

public virtual object SyncRoot { get; }

Value

A object that can be used to synchronize access to the current instance.

Remarks

This property is read-only.

Program code must perform synchronized operations on the ArrayList.SyncRoot of the current instance, not directly on the current instance. This ensures proper operation of collections that are derived from other objects. Specifically, it maintains proper synchronization with other threads that might be simultaneously modifying the current instance.

Operation
As described above.

This method returns a reference to the current instance.

Note: This property is implemented to support the IList interface.

Requirements

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0