SyncRoot Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets the object used to synchronize access to the ReadOnlyStringCollection.

Namespace:  Microsoft.CommerceServer.Runtime
Assembly:  Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)

Syntax

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

value = instance.SyncRoot
public Object SyncRoot { get; }
public:
property Object^ SyncRoot {
    Object^ get ();
}
public function get SyncRoot () : Object

Property Value

Type: System..::.Object
An object used for synchronization of the ReadOnlyStringCollection.

Remarks

The SyncRoot property is a read-only object that can be used for synchronized access to the collection.

Permissions

See Also

Reference

ReadOnlyStringCollection Class

ReadOnlyStringCollection Members

Microsoft.CommerceServer.Runtime Namespace