CatalogSystem Property

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

Gets a CatalogContext object for use on the site.

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

public CatalogContext CatalogSystem { get; set; }

Property Value

Type: Microsoft.CommerceServer.Catalog..::.CatalogContext
A CatalogContext object for use on the site.

A default CatalogContext is available only if the CommerceCatalogModule is configured in the Web.config file. Always check this property for a non nullNothingnullptra null reference (Nothing in Visual Basic) value before referencing it.

Show: