SyncRoot Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets an object used to synchronize access to the current LineItemCollection.
Namespace: Microsoft.CommerceServer.Runtime.Orders
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public ReadOnly Property SyncRoot As Object
'Usage
Dim instance As LineItemCollection
Dim value As Object
value = instance.SyncRoot
public Object SyncRoot { get; }
public:
virtual property Object^ SyncRoot {
Object^ get () sealed;
}
public final function get SyncRoot () : Object
Property Value
Type: System..::.Object
The object used to synchronize access to the LineItemCollection. The current Commerce Server implementation returns the current LineItemCollection.
Implements
Remarks
The object returned in this implementation is the LineItemCollection object.
For more information on the SyncRoot property, see the SyncRoot property of the System.Collections.ICollection interface.
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.