RegionCodeDataSet.StateCodesDataTable.CodeChangeEventHandler Delegate
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Represents the method that will handle the CodeChanged and CodeChanging events of a RegionCodeDataSet..::.StateCodesDataTable.
Namespace: Microsoft.CommerceServer.Orders
Assembly: Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)
Syntax
'Declaration
Public Delegate Sub CodeChangeEventHandler ( _
sender As RegionCodeDataSet..::.StateCodesDataTable, _
e As RegionCodeDataSet..::.StateCodesDataTable..::.CodeChangeEventArg _
)
'Usage
Dim instance As New CodeChangeEventHandler(AddressOf HandlerMethod)
public delegate void CodeChangeEventHandler(
RegionCodeDataSet..::.StateCodesDataTable sender,
RegionCodeDataSet..::.StateCodesDataTable..::.CodeChangeEventArg e
)
public delegate void CodeChangeEventHandler(
RegionCodeDataSet..::.StateCodesDataTable^ sender,
RegionCodeDataSet..::.StateCodesDataTable..::.CodeChangeEventArg^ e
)
JScript does not support delegates.
Parameters
- sender
Type: Microsoft.CommerceServer.Orders..::.RegionCodeDataSet..::.StateCodesDataTable
The source of the event.
- e
Type: Microsoft.CommerceServer.Orders..::.RegionCodeDataSet..::.StateCodesDataTable..::.CodeChangeEventArg
The RegionCodeDataSet..::.StateCodesDataTable..::.CodeChangeEventArg that contains the event data.
Remarks
Delegate for events on the RegionCodeDataSet..::.StateCodesDataTable.
The event handler receives an argument of type RegionCodeDataSet..::.StateCodesDataTable..::.CodeChangeEventArg containing data related to this event.
When you create a RegionCodeDataSet..::.StateCodesDataTable..::.CodeChangeEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event-handler delegates, see Events and Delegates.