Partager via


VariantCollection Class

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

A collection of variants within the Catalog. This class cannot be inherited.

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

Syntax

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

Remarks

Collection of variants encountered in the catalog.

Inheritance Hierarchy

System..::.Object
  Microsoft.CommerceServer.Catalog..::.DataSetBasedCollection<(Of <(Variant, CatalogItemsDataSet>)>)
    Microsoft.CommerceServer.Catalog..::.VariantCollection

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

VariantCollection Members

Microsoft.CommerceServer.Catalog Namespace