Partilhar via


ShippingMethodId Property

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

Gets or sets the shipping method identifier associated with the current line item.

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

Syntax

'Declaration
Public Property ShippingMethodId As Guid
'Usage
Dim instance As LineItem
Dim value As Guid

value = instance.ShippingMethodId

instance.ShippingMethodId = value
public Guid ShippingMethodId { get; set; }
public:
property Guid ShippingMethodId {
    Guid get ();
    void set (Guid value);
}
public function get ShippingMethodId () : Guid
public function set ShippingMethodId (value : Guid)

Property Value

Type: System..::.Guid
A GUID containing the shipping method identifier associated with the current instance.

Remarks

Stores the shipping method identifier associated with the current line item. When set to non - nullNothingnullptra null reference (Nothing in Visual Basic) by site code, the Total pipeline will set the ShippingMethodName automatically.

Permissions

See Also

Reference

LineItem Class

LineItem Members

Microsoft.CommerceServer.Runtime.Orders Namespace