Share 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 shipment.

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 Shipment
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
The shipping method ID associated with the current shipment.

Remarks

Stores the shipping method identifier associated with the current shipment. The shipping method identifier maps to a ShippingMethod and will be a unique identifier for something like Next-Day Air or Ground (5-7 Days)

Permissions

See Also

Reference

Shipment Class

Shipment Members

Microsoft.CommerceServer.Runtime.Orders Namespace