Partager via


Variants Property

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

A VariantCollection object containing the variants of this ProductFamily.

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

Syntax

'Declaration
Public ReadOnly Property Variants As VariantCollection
'Usage
Dim instance As ProductFamily
Dim value As VariantCollection

value = instance.Variants
public VariantCollection Variants { get; }
public:
property VariantCollection^ Variants {
    VariantCollection^ get ();
}
public function get Variants () : VariantCollection

Property Value

Type: Microsoft.CommerceServer.Catalog..::.VariantCollection
A VariantCollection containing all of the variants of the ProductFamily.

Remarks

Collection of variants of this product Family. Supports inventory integration. A product family is a product that contains product variants.

The maximum number of results returned by a Catalog Search is limited by the MaxSearchResults value in the catalog Web service web.config.

This property ignores the values passed in the PropertiesToReturn property on the SearchOptions object. Instead, it returns all the properties in the ProductFamily definition.

Permissions

See Also

Reference

ProductFamily Class

ProductFamily Members

Microsoft.CommerceServer.Catalog Namespace