共用方式為


SPUserCustomActionCollection.ICollection.SyncRoot property

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

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

Syntax

'宣告
Private ReadOnly Property SyncRoot As Object
    Implements ICollection.SyncRoot
    Get
'用途
Dim instance As SPUserCustomActionCollection
Dim value As Object

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

Property value

Type: System.Object
Object
物件,可以用來同步處理對集合的存取。

Implements

ICollection.SyncRoot

請參閱

參照

SPUserCustomActionCollection class

SPUserCustomActionCollection members

Microsoft.SharePoint namespace