Share via


UnknownXmlElementCollection.SyncRoot property

Gets the object that is used to synchronize access to the collection.

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

Syntax

'Declaration
Public ReadOnly Property SyncRoot As Object
    Get
'Usage
Dim instance As UnknownXmlElementCollection
Dim value As Object

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

Property value

Type: System.Object
Contains the object used to synchronize access to the collection.

Remarks

The SyncRoot property always returns the current instance of the UnknownXmlElementCollection class.

See also

Reference

UnknownXmlElementCollection class

UnknownXmlElementCollection members

Microsoft.SharePoint.WebPartPages namespace