Partager via


Enabled Property

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

Gets or sets a value to indicate if the PaymentMethod is enabled or disabled.

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 PaymentMethod
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 to indicate that the PaymentMethod is enabled; otherwise, false.

Remarks

A value to indicate if the payment method is currently displayed on the site as a method of payment. You cannot enable the properties for one language and disable in other language.

Permissions

See Also

Reference

PaymentMethod Class

PaymentMethod Members

Microsoft.CommerceServer.Orders Namespace