SPBaseCollection.ICollection.SyncRoot - Propriété

Obtient un objet qui est utilisé pour synchroniser l'accès à la collection.

Espace de noms :  Microsoft.SharePoint
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Private ReadOnly Property SyncRoot As Object
    Implements ICollection.SyncRoot
    Get
'Utilisation
Dim instance As SPBaseCollection
Dim value As Object

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

Valeur de propriété

Type : System.Object
Un objet qui est utilisé pour synchroniser l'accès à la collection.

Implémentations

ICollection.SyncRoot

Voir aussi

Référence

SPBaseCollection classe

SPBaseCollection - Membres

Microsoft.SharePoint - Espace de noms