Partager via


HookUpRelatedProducts Method

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

Hook up dataset events for related products dataset.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Protected Overridable Sub HookUpRelatedProducts
'Usage

Me.HookUpRelatedProducts()
protected virtual void HookUpRelatedProducts()
protected:
virtual void HookUpRelatedProducts()
protected function HookUpRelatedProducts()

Remarks

Associates a handler method with an event. A new CatalogRelationshipsDataSet is created when a Catalog relationship changes (a relationship to a product changes) or a new DataColumnChangeEventHandler is created when a related products column changes.

Permissions

See Also

Reference

CatalogItem Class

CatalogItem Members

Microsoft.CommerceServer.Catalog Namespace