Share via


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 ShippingMethodCollection.

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

Syntax

'Declaration
Public ReadOnly Property SyncRoot As Object
'Usage
Dim instance As ShippingMethodCollection
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
An object used for synchronization when accessing the current ShippingMethodCollection.

Implements

ICollection..::.SyncRoot

Remarks

The object returned in this implementation is the ShippingMethodCollection object itself.

Permissions

See Also

Reference

ShippingMethodCollection Class

ShippingMethodCollection Members

Microsoft.CommerceServer.Orders Namespace