Spread for ASP.NET 9.0 Product Documentation
SyncRoot Property (DefaultStyleCollection)
Example 


Gets a NamedStyleCollection object that can be used to synchronize access to the collection.
Syntax
'Declaration
 
Public ReadOnly Property SyncRoot As DefaultStyleCollection
'Usage
 
Dim instance As DefaultStyleCollection
Dim value As DefaultStyleCollection
 
value = instance.SyncRoot
public DefaultStyleCollection SyncRoot {get;}

Property Value

DefaultStyleCollection object containing the style collection
Remarks
This method gets a NamedStyleCollection object from the collection that can be used to synchronize access to the collection.
Example
FarPoint.Web.Spread.DefaultStyleCollection dsc = new FarPoint.Web.Spread.DefaultStyleCollection();
ListBox1.Items.Add(dsc.SyncRoot.ToString());
Dim dsc As New FarPoint.Web.Spread.DefaultStyleCollection()
ListBox1.Items.Add(dsc.SyncRoot.ToString())
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

DefaultStyleCollection Class
DefaultStyleCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.