Share via


BillingAddressId Property

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

NOTE: This API is now obsolete.

(Obsolete) Use BillingAddressId instead. Gets or sets the billing address identifier associated with the current OrderForm instance.

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

Syntax

'Declaration
<ObsoleteAttribute("Don't use this property; use the one in the Payment class",  _
    False)> _
Public Property BillingAddressId As String
'Usage
Dim instance As OrderForm
Dim value As String

value = instance.BillingAddressId

instance.BillingAddressId = value
[ObsoleteAttribute("Don't use this property; use the one in the Payment class", 
    false)]
public string BillingAddressId { get; set; }
[ObsoleteAttribute(L"Don't use this property; use the one in the Payment class", 
    false)]
public:
property String^ BillingAddressId {
    String^ get ();
    void set (String^ value);
}
public function get BillingAddressId () : String
public function set BillingAddressId (value : String)

Property Value

Type: System..::.String
The billing address identifier associated with the current OrderForm instance.

Exceptions

Exception Condition
ArgumentException

The length of the string being set is greater than the maximum length specified in the orders storage mapping file.

ArgumentNullException

The value being set is nullNothingnullptra null reference (Nothing in Visual Basic). Assign BillingAddressId a non-nullNothingnullptra null reference (Nothing in Visual Basic) value to prevent this exception.

Remarks

Stores the address identifier for the billing payment. Note that when setting BillingAddressId, there is no check to verify that the referenced OrderAddress exists.

BillingAddressId is trimmed of leading and trailing white space characters before being set.

The default maximum length for BillingAddressId is 64 characters, as defined in the corresponding table column constraint specified in the default Orders storage mapping file, OrderObjectMappings.xml.

Permissions

See Also

Reference

OrderForm Class

OrderForm Members

Microsoft.CommerceServer.Runtime.Orders Namespace