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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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