다음을 통해 공유


SPWebPartCollection.SyncRoot Property

NOTE: This API is now obsolete.

Obsolete. 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: No

Syntax

'Declaration
<ObsoleteAttribute("Use SPLimitedWebPartManager instead.")> _
Public ReadOnly Property SyncRoot As Object
    Get
'Usage
Dim instance As SPWebPartCollection
Dim value As Object

value = instance.SyncRoot
[ObsoleteAttribute("Use SPLimitedWebPartManager instead.")]
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

SPWebPartCollection Class

SPWebPartCollection Members

Microsoft.SharePoint Namespace