Share via


CodeChanging Event

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

Occurs before a Code 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 CodeChanging As RegionCodeDataSet..::.StateCodesDataTable..::.CodeChangeEventHandler
'Usage
Dim instance As RegionCodeDataSet..::.StateCodesDataTable
Dim handler As RegionCodeDataSet..::.StateCodesDataTable..::.CodeChangeEventHandler

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

Remarks

Event generated when a Code 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