共用方式為


SPAttachmentCollection.SyncRoot property

取得用於同步化存取集合的物件。

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

Syntax

'宣告
Public ReadOnly Property SyncRoot As Object
    Get
'用途
Dim instance As SPAttachmentCollection
Dim value As Object

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

Property value

Type: System.Object
用來同步存取集合物件。

Implements

ICollection.SyncRoot

請參閱

參照

SPAttachmentCollection class

SPAttachmentCollection members

Microsoft.SharePoint namespace