Share via


Variants Property

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

Gets or sets the search filtering applied to the Variants property of this category.

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

Syntax

'Declaration
Public Property Variants As CollectionConfiguration
'Usage
Dim instance As ProductConfiguration
Dim value As CollectionConfiguration

value = instance.Variants

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

Property Value

Type: Microsoft.CommerceServer.Catalog..::.CollectionConfiguration
A CollectionConfiguration containing the xml-serializable data-object containing the variant's collection's paging and filtering.

Remarks

The returned CollectionConfiguration allows the configuration of a collection’s paging and filtering.

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

Permissions

See Also

Reference

ProductConfiguration Class

ProductConfiguration Members

Microsoft.CommerceServer.Catalog Namespace