Partilhar via


CategoryCollection Class

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

A collection of categories in a virtual catalog or a base catalog. This class cannot be inherited.

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

Syntax

'Declaration
Public NotInheritable Class CategoryCollection _
    Inherits SearchableObjectCollection(Of Category, CatalogItemsDataSet)
'Usage
Dim instance As CategoryCollection
public sealed class CategoryCollection : SearchableObjectCollection<Category, CatalogItemsDataSet>
public ref class CategoryCollection sealed : public SearchableObjectCollection<Category^, CatalogItemsDataSet^>
public final class CategoryCollection extends SearchableObjectCollection<Category, CatalogItemsDataSet>

Remarks

Collection of categories encountered in the catalog.

Inheritance Hierarchy

System..::.Object
  Microsoft.CommerceServer.Catalog..::.CatalogObjectBase
    Microsoft.CommerceServer.Catalog..::.CatalogObjectCollection<(Of <(Category, CatalogItemsDataSet>)>)
      Microsoft.CommerceServer.Catalog..::.SearchableObjectCollection<(Of <(Category, CatalogItemsDataSet>)>)
        Microsoft.CommerceServer.Catalog..::.CategoryCollection

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

CategoryCollection Members

Microsoft.CommerceServer.Catalog Namespace