EmptyDictionary SyncRoot Property | Apache log4net™ SDK Documentation

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

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public Object SyncRoot { get; }

    Public ReadOnly Property SyncRoot As Object
    	Get

    public:
    virtual property Object^ SyncRoot {
    	Object^ get () sealed;
    }

    abstract SyncRoot : Object with get
    override SyncRoot : Object with get

#### Property Value

Type: Object
An object that can be used to synchronize access to the ICollection.

#### Implements

ICollection
SyncRoot
Remarks

As the collection is empty and thread safe and synchronized this instance is also the SyncRoot object.

See Also

#### Reference

EmptyDictionary Class
log4net.Util Namespace