RegionCodeDataSet.CountryCodesDataTable.NameChangeEventHandler Delegate

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

Represents the method that will handle the NameChanged and NameChanging events of a RegionCodeDataSet..::.CountryCodesDataTable.

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

public delegate void NameChangeEventHandler(
	RegionCodeDataSet..::.CountryCodesDataTable sender,
	RegionCodeDataSet..::.CountryCodesDataTable..::.NameChangeEventArg e

Delegate for events on the RegionCodeDataSet..::.CountryCodesDataTable.

The event handler receives an argument of type RegionCodeDataSet..::.CountryCodesDataTable..::.NameChangeEventArg containing data related to this event.

When you create a RegionCodeDataSet..::.CountryCodesDataTable..::.NameChangeEventHandler 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.