Set the properties of an Address object based on the values from the shipping or billing address input values.
Syntax
'Declaration
Public Sub GetAddressFromControls( _
ByVal As Address, _
ByVal As Control, _
ByVal As Boolean _
)
'Usage
Dim instance As CheckOutAddress
Dim address As Address
Dim addressContainerControl As Control
Dim isShipping As Boolean
instance.GetAddressFromControls(address, addressContainerControl, isShipping)
public void GetAddressFromControls(
Address ,
Control ,
bool
)
Parameters
- address
- Target Address object.
- addressContainerControl
- Parent control containing the controls with values to use as the data source.
- isShipping
- Are we populating a shipping address?
See Also