Share via


CountryCodeChanging Event

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

Occurs before a CountryCode value in the StateCodesDataTable is changed.

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

Syntax

'Declaration
Public Event CountryCodeChanging As RegionCodeDataSet..::.StateCodesDataTable..::.CountryCodeChangeEventHandler
'Usage
Dim instance As RegionCodeDataSet..::.StateCodesDataTable
Dim handler As RegionCodeDataSet..::.StateCodesDataTable..::.CountryCodeChangeEventHandler

AddHandler instance.CountryCodeChanging, handler
public event RegionCodeDataSet..::.StateCodesDataTable..::.CountryCodeChangeEventHandler CountryCodeChanging
public:
 event RegionCodeDataSet..::.StateCodesDataTable..::.CountryCodeChangeEventHandler^ CountryCodeChanging {
    void add (RegionCodeDataSet..::.StateCodesDataTable..::.CountryCodeChangeEventHandler^ value);
    void remove (RegionCodeDataSet..::.StateCodesDataTable..::.CountryCodeChangeEventHandler^ value);
}
JScript does not support events.

Remarks

Event generated when a CountryCode value in the StateCodesDataTable table is changing. For more information about handling events, see Consuming Events.

Permissions

See Also

Reference

RegionCodeDataSet..::.StateCodesDataTable Class

RegionCodeDataSet..::.StateCodesDataTable Members

Microsoft.CommerceServer.Orders Namespace