Compartilhar via


SPBaseCollection.ICollection.SyncRoot property

Obtém um objeto que é usado para sincronizar o acesso à coleção.

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

Syntax

'Declaração
Private ReadOnly Property SyncRoot As Object
    Implements ICollection.SyncRoot
    Get
'Uso
Dim instance As SPBaseCollection
Dim value As Object

value = CType(instance, ICollection).SyncRoot
ObjectICollection.SyncRoot { get; }

Property value

Type: System.Object
Um objeto que é usado para sincronizar o acesso à coleção.

Implements

ICollection.SyncRoot

Ver também

Referência

SPBaseCollection class

SPBaseCollection members

Microsoft.SharePoint namespace