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

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

Implements

ICollection..::.SyncRoot

Remarks

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

Permissions

See Also

Reference

PaymentMethodCollection Class

PaymentMethodCollection Members

Microsoft.CommerceServer.Orders Namespace