Udostępnij za pośrednictwem


Enabled Property

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

Gets or sets a value indicating whether the current shipping method is enabled.

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

Syntax

'Declaration
Public Property Enabled As Boolean
'Usage
Dim instance As ShippingMethod
Dim value As Boolean

value = instance.Enabled

instance.Enabled = value
public bool Enabled { get; set; }
public:
property bool Enabled {
    bool get ();
    void set (bool value);
}
public function get Enabled () : boolean
public function set Enabled (value : boolean)

Property Value

Type: System..::.Boolean
true if the shipping method is enabled; otherwise, false.

Remarks

You cannot enable this property for one language and disable it in another language.

Permissions

See Also

Reference

ShippingMethod Class

ShippingMethod Members

Microsoft.CommerceServer.Orders Namespace