Udostępnij za pośrednictwem


ParentLineItem Property

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

Gets the line item to which the current collection belongs.

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

Syntax

'Declaration
Public ReadOnly Property ParentLineItem As LineItem
'Usage
Dim instance As DiscountApplicationRecordCollection
Dim value As LineItem

value = instance.ParentLineItem
public LineItem ParentLineItem { get; }
public:
property LineItem^ ParentLineItem {
    LineItem^ get ();
}
public function get ParentLineItem () : LineItem

Property Value

Type: Microsoft.CommerceServer.Runtime.Orders..::.LineItem
A LineItem describing the line item to which the current instance belongs.

Remarks

Returns a LineItem, describing the parent line item to which these discounts belong.

Permissions

See Also

Reference

DiscountApplicationRecordCollection Class

DiscountApplicationRecordCollection Members

Microsoft.CommerceServer.Runtime.Orders Namespace