共用方式為


SPFeatureCollection.ICollection.SyncRoot Property

Gets an object that can be used to synchronize access to the collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

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

Property Value

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

Implements

ICollection.SyncRoot

See Also

Reference

SPFeatureCollection Class

SPFeatureCollection Members

Microsoft.SharePoint Namespace