SyncRoot Property
Collapse the table of content
Expand the table of content

PersonalizationDictionary.SyncRoot Property

 

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

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

public virtual object SyncRoot { get; }

Property Value

Type: System.Object

An object that can be used to synchronize access to the personalization dictionary.

For collections whose underlying store is not publicly available, the expected implementation is to return the current instance. Note that the pointer to the current instance might not be sufficient for collections that wrap other collections; those should return the underlying collection's SyncRoot property.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft