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

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

Syntax

'Declaration
Public ReadOnly Property SyncRoot As Object
'Usage
Dim instance As ProfilePropertyCollection
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 ProfilePropertyCollection. The current implementation returns the current ProfilePropertyCollection.

Implements

ICollection..::.SyncRoot

Remarks

The object returned in this implementation is the ProfilePropertyCollection object.

For more information on the SyncRoot property, see the SyncRoot property of the ICollection interface.

Permissions

See Also

Reference

ProfilePropertyCollection Class

ProfilePropertyCollection Members

Microsoft.CommerceServer.Runtime.Profiles Namespace