Share via


CollectionBase<T>.SyncRoot property

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

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public ReadOnly Property SyncRoot As Object
    Get
'Usage
Dim instance As CollectionBase
Dim value As Object

value = instance.SyncRoot
public Object SyncRoot { get; }

Property value

Type: System.Object
SyncRoot object for this collection.

Implements

ICollection.SyncRoot

See also

Reference

CollectionBase<T> class

CollectionBase<T> members

Microsoft.SharePoint.Publishing namespace

CollectionBase<T>

Count

Item

IsSynchronized