SPAttachmentCollection.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
Public ReadOnly Property SyncRoot As Object
    Get
'Usage
Dim instance As SPAttachmentCollection
Dim value As Object

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

Property value

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

Implements

ICollection.SyncRoot

See also

Reference

SPAttachmentCollection class

SPAttachmentCollection members

Microsoft.SharePoint namespace