Partilhar via


GetBasketDisplay Method

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

Gets the basket display string for the Current Culture.

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

Syntax

'Declaration
Public Function GetBasketDisplay As String
'Usage
Dim instance As DiscountItem
Dim returnValue As String

returnValue = instance.GetBasketDisplay()
public string GetBasketDisplay()
public:
String^ GetBasketDisplay()
public function GetBasketDisplay() : String

Return Value

Type: System..::.String
A string representing the basket display, or an empty string if not found.

Remarks

Gets the basket display string for the Current Culture. If the basket display string is not found for the current culture, and the current culture has a parent culture (for example 'en' is the parent culture for 'en-US'), the parent culture is returned. If no basket displays are found for the current culture or the parent culture, the default marketing resource culture is returned. If no basket display exists for that culture an empty string is returned.

This method does not use the Product Culture.

Permissions

See Also

Reference

DiscountItem Class

DiscountItem Members

GetBasketDisplay Overload

Microsoft.CommerceServer.Runtime.Marketing Namespace