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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ReadOnlyStringCollection Class