CatalogSetCollection Class (BCL)

The CatalogSetCollection object retrieves information about all the CatalogSets objects in the Commerce Server Product Catalog System and caches it. It provides an enumerator and two indexors that can be used to retrieve the catalog set information.

System.Object
   Microsoft.CommerceServer.Runtime.Catalog.CatalogSearchOptions

Public Instance Constructor

Constructor Description
CatalogSetCollection Constructor(CatalogContext, String) Creates a new instance of the CatalogSetCollection class with the specified CatalogContext object.

 

Public Instance Methods

Method Description
CopyTo(ReadOnlyStringCollection[], Int32) Copies the CatalogSets objects to an array, starting at a particular array index.
GetEnumerator Retrieves the enumerator on this collection.

 

Public Instance Properties

Property Description
CatalogContext Gets the CatalogContext object that was used to create this CatalogSetCollection object.
Count Returns the count of this collection.
DebugContext Gets the DebugContext object for the CatalogContext object that was used to create this CatalogSetCollection object.
IsSynchronized Indicates whether this collection supports synchronization.
Item(String) String that allows the indexer to access the list of catalogs for a given CatalogSetName value.
Item(Guid) GUID that allows the indexer to access the list of catalogs by a given CatalogSetId value.
SyncRoot Retrieves the object for synchronizing operations on this collection.

 

Protected Instance Methods

Method Description
InitCatalogSetsData Gets the CatalogSetID.Catalogs object and CatalogSetName.Catalogs object mapping information.

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Catalog

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.