Partilhar via


CatalogContext Property

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

Gets the default CatalogContext instance created by the module.

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

Syntax

'Declaration
Public Shared ReadOnly Property CatalogContext As CatalogContext
'Usage
Dim value As CatalogContext

value = CommerceCatalogModule.CatalogContext
public static CatalogContext CatalogContext { get; }
public:
static property CatalogContext^ CatalogContext {
    CatalogContext^ get ();
}
public static function get CatalogContext () : CatalogContext

Property Value

Type: Microsoft.CommerceServer.Catalog..::.CatalogContext
The default CatalogContext instance created by the module.

Remarks

The value will be nullNothingnullptra null reference (Nothing in Visual Basic) if the CommerceCatalogModule was not configured in web.config. ASP.Net pages should reference this via the CatalogSystem property.

Permissions

See Also

Reference

CommerceCatalogModule Class

CommerceCatalogModule Members

Microsoft.CommerceServer.Runtime.Catalog Namespace