共用方式為


CodeChanging Event

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

Occurs before a Code value in the CountryCodesDataTable is changed.

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

Syntax

'Declaration
Public Event CodeChanging As RegionCodeDataSet..::.CountryCodesDataTable..::.CodeChangeEventHandler
'Usage
Dim instance As RegionCodeDataSet..::.CountryCodesDataTable
Dim handler As RegionCodeDataSet..::.CountryCodesDataTable..::.CodeChangeEventHandler

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

Remarks

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

Permissions

See Also

Reference

RegionCodeDataSet..::.CountryCodesDataTable Class

RegionCodeDataSet..::.CountryCodesDataTable Members

Microsoft.CommerceServer.Orders Namespace