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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.