次の方法で共有


SPBaseCollection.ICollection.SyncRoot property

Gets an object that is used to synchronize access to the collection.

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

Syntax

'Declaration
Private ReadOnly Property SyncRoot As Object
    Implements ICollection.SyncRoot
    Get
'Usage
Dim instance As SPBaseCollection
Dim value As Object

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

Property value

Type: System.Object
An object that is used to synchronize access to the collection.

Implements

ICollection.SyncRoot

See also

Reference

SPBaseCollection class

SPBaseCollection members

Microsoft.SharePoint namespace