共用方式為


BasketID Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

NOTE: This API is now obsolete.

(Obsolete) BasketID is obsolete, use SoldToId instead. Gets the customer ID associated with the current instance.

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

Syntax

'Declaration
<ObsoleteAttribute("Don't use this property; use SoldToId instead",  _
    False)> _
Public ReadOnly Property BasketID As Guid
'Usage
Dim instance As Basket
Dim value As Guid

value = instance.BasketID
[ObsoleteAttribute("Don't use this property; use SoldToId instead", 
    false)]
public Guid BasketID { get; }
[ObsoleteAttribute(L"Don't use this property; use SoldToId instead", 
    false)]
public:
property Guid BasketID {
    Guid get ();
}
public function get BasketID () : Guid

Property Value

Type: System..::.Guid
The customer ID associated with the current instance.

Remarks

Returns a unique identifier for the basket.

A SoldToId that uses the same ID as the purchaser to avoid multiple database lookups.

Permissions

See Also

Reference

Basket Class

Basket Members

Microsoft.CommerceServer.Runtime.Orders Namespace