Share via


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)

Syntax

'Declaration
Public Property CatalogSystem As CatalogContext
'Usage
Dim instance As CommerceContext
Dim value As CatalogContext

value = instance.CatalogSystem

instance.CatalogSystem = value
public CatalogContext CatalogSystem { get; set; }
public:
property CatalogContext^ CatalogSystem {
    CatalogContext^ get ();
    void set (CatalogContext^ value);
}
public function get CatalogSystem () : CatalogContext
public function set CatalogSystem (value : CatalogContext)

Property Value

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

Remarks

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.

Permissions

See Also

Reference

CommerceContext Class

CommerceContext Members

Microsoft.CommerceServer.Runtime Namespace