Condividi tramite


Variant Class

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

A variant of a product family. Represents a single product variant in the product catalog system.

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

Syntax

'Declaration
Public NotInheritable Class Variant
'Usage
Dim instance As Variant
public sealed class Variant
public ref class Variant sealed
public final class Variant

Remarks

A product variant is an instance of the Variant type. Product Variants are sellable units. They can be ranked inside a product family. Product variants are products that are similar but differ by only one or two properties. For example, suppose you have a clothing catalog with a category for shirts. A group of shirts may have the same description (soccer shirts) and manufacturer (Adventure Works), but have different sizes and colors. You can create a product definition with normal properties description and manufacturer and variant properties color and size. For more information, see CatalogDefinition.

Inheritance Hierarchy

System..::.Object
  Microsoft.CommerceServer.Catalog..::.Variant

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

Variant Members

Microsoft.CommerceServer.Catalog Namespace