Partilhar 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